foo-webview-sdk
    Preparing search index...

    Interface JitSessionSetNativeQueueParamsExperimental

    Parameters for jitSession.setNativeQueue. Decide which queue occurrences of the adopted context are still to be given back, and in what order: list every pending or queued occurrence to keep; the ones left out are removed and never given back. A removed occurrence that is the next entry is withdrawn from the buffer. Fails with INVALID_PARAMS for a repeated or unknown identifier, and with CONFLICT when expectedContextRevision is out of date or a listed occurrence has meanwhile been handed to playback, and with CONFLICT and details.reason: "nextPreselected" when removing the buffered next entry under the condition described for jitSession.setNext; nothing changes then.

    interface JitSessionSetNativeQueueParams {
        contextId: string;
        controlToken: string;
        expectedContextRevision: number;
        expectedRevision: number;
        remainingOccurrenceIds: string[];
        requestId: string;
        sessionId: string;
    }
    Index
    contextId: string

    The adopted context.

    controlToken: string

    Control token from jitSession.create or jitSession.claimControl.

    expectedContextRevision: number

    The contextRevision the command is based on.

    expectedRevision: number

    The revision the command is based on.

    remainingOccurrenceIds: string[]

    Occurrences to keep, in the order to give them back.

    requestId: string

    Caller-chosen key that makes a retry return the first answer instead of running again.

    sessionId: string

    Session to act on.