foo-webview-sdk
    Preparing search index...

    Interface PlaybackGetStateSuccess

    Successful response from playback.getState.

    interface PlaybackGetStateSuccess {
        canPause: boolean;
        canSeek: boolean;
        state: "stopped" | "paused" | "playing";
        success: true;
    }
    Index
    canPause: boolean

    Whether the current track can be paused; always true.

    canSeek: boolean

    Whether the current track can be seeked; false when stopped and for streams that do not support it.

    state: "stopped" | "paused" | "playing"

    Transport state.

    success: true

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