foo-webview-sdk
    Preparing search index...

    Interface JitQueueGetStateSuccess

    Successful response from jitQueue.getState.

    interface JitQueueGetStateSuccess {
        bufferSize: number;
        currentTrackId: string;
        isActive: boolean;
        nextTrackId: string;
        shadowPlaylist: number;
        state: "Idle" | "Active" | "WaitingNext" | "Exhausted" | "Unknown";
        success: true;
    }
    Index
    bufferSize: number

    Tracks in the buffer.

    currentTrackId: string

    Identifier of the playing track; empty when none.

    isActive: boolean

    Whether a JIT session is active.

    nextTrackId: string

    Identifier of the buffered next track; empty when none.

    shadowPlaylist: number

    Index of the shadow playlist; -1 until a jitQueue.playNow or jitQueue.preloadBatch of this foobar2000 session creates or takes it over, even when one is left from an earlier session, and again after the playlist is removed, which also ends the JIT session. Stopping or clearing keeps the index of the emptied playlist.

    state: "Idle" | "Active" | "WaitingNext" | "Exhausted" | "Unknown"

    The session state.

    success: true

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