foo-webview-sdk
    Preparing search index...

    Interface JitSessionGetNativeContextParamsExperimental

    Parameters for jitSession.getNativeContext. Read one page of a native context: the manual occurrences captured from the native queue, in their order, or the source rows of the playlist being played. Reading changes neither revision; a row read twice keeps its nativeRef. Fails with CONFLICT when expectedContextRevision is out of date, and for source pages also when the playlist's content changed since the snapshot; a page past the end is empty.

    interface JitSessionGetNativeContextParams {
        collection: "source" | "manual";
        contextId: string;
        expectedContextRevision: number;
        limit: number;
        offset: number;
        sessionId: string;
    }
    Index
    collection: "source" | "manual"

    manual for the queue occurrences, source for the playlist rows.

    contextId: string

    Context to read.

    expectedContextRevision: number

    The contextRevision the page is based on.

    limit: number

    Items per page.

    offset: number

    First item: an occurrence index for manual, a playlist row for source.

    sessionId: string

    Session the context belongs to.