Mobile Locker JavaScript SDK
    Preparing search index...

    Variable sessionConst

    session: {
        getDeviceEvents(): Promise<unknown[]>;
        get hitSessionId(): string | null;
    } = ...

    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.

    • get hitSessionId(): string | null

      The session id created from the JWT's hit_uuid when the presentation was opened via a shared link on the CDN, or null if not applicable or not yet created.