Mobile Locker JavaScript SDK
    Preparing search index...

    Variable sessionConst

    session: { getDeviceEvents(): Promise<unknown[]> } = ...

    Type Declaration

    • getDeviceEvents: function
      • Get all analytics events recorded during the current device session.

        In the iOS app, fetches events from the server scoped to the current session. Outside the app (local development), returns events buffered in IndexedDB via localforage.

        Returns Promise<unknown[]>

        Array of raw event objects.