foo-webview-sdk
    Preparing search index...

    Interface JitSessionPrepareAdoptionSuccessExperimental

    Successful response from jitSession.prepareAdoption.

    interface JitSessionPrepareAdoptionSuccess {
        contextId: string;
        contextRevision: number;
        current: JitNativeTrack;
        expiresAt: number;
        manualCount: number;
        revision: number;
        snapshotToken: string;
        sourceCount: number;
        sourceNextOffset: number;
        success: true;
    }
    Index
    contextId: string

    The native context.

    contextRevision: number

    Version of the context.

    current: JitNativeTrack

    The track playing; its nativeRef is the same as its source row's.

    expiresAt: number

    When the snapshot expires unadopted, in Unix milliseconds; the host times it with its own monotonic clock.

    manualCount: number

    Occurrences captured from the native playback queue.

    revision: number

    State version after accepting the command.

    snapshotToken: string

    Authorizes adopting this snapshot once. Keep it in the page; it is never sent in events or state.

    sourceCount: number

    Rows of the playlist being played.

    sourceNextOffset: number

    Source row after the track playing.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.