foo-webview-sdk
    Preparing search index...

    Interface JitSessionAttemptFinishedPayload

    Payload of the jitSession:attemptFinished event. An attempt ended. outcome is completed only when playback reached the end of the resource; an ending the host cannot attribute is unknown, with the facts it has. Sent like jitSession:stateChanged.

    interface JitSessionAttemptFinishedPayload {
        attemptId: string;
        duration: number | null;
        entryId: string;
        eventSeq: number;
        outcome: "stopped" | "unknown" | "completed" | "released" | "superseded";
        position: number | null;
        revision: number;
        sessionId: string;
        stopReason: "user" | "eof" | "startingAnother" | "shuttingDown" | null;
    }
    Index
    attemptId: string

    The attempt that ended.

    duration: number | null

    Duration of the resource, in seconds, or null when unknown.

    entryId: string

    Its entry.

    eventSeq: number

    Order of this event within the session; consumers drop an event they have already seen.

    outcome: "stopped" | "unknown" | "completed" | "released" | "superseded"

    completed: playback reached the end; stopped: stopped by the user or jitSession.stop; superseded: another attempt or playback started; released: the session ended; unknown: the host cannot attribute the ending.

    position: number | null

    Last playback position read for the attempt, in seconds, or null.

    revision: number

    State version this event reflects.

    sessionId: string

    The session.

    stopReason: "user" | "eof" | "startingAnother" | "shuttingDown" | null

    Native stop reason, when one was observed; null for a command or an inferred transition.