foo-webview-sdk
    Preparing search index...

    Interface PlaybackGetCurrentTrackIndexSuccess

    Successful response from playback.getCurrentTrackIndex.

    interface PlaybackGetCurrentTrackIndexSuccess {
        found: boolean;
        index: number | null;
        playlist: number | null;
        playlistGuid: string | null;
        success: true;
        track?: Track;
    }
    Index
    found: boolean

    Whether the playing track has a playlist location.

    index: number | null

    Row in that playlist; null when there is no location.

    playlist: number | null

    Playlist index; null when there is no location.

    playlistGuid: string | null

    GUID of that playlist, as playlistGuid takes it; null when there is no location.

    success: true

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

    track?: Track

    The track at that location; only with includeTrackInfo, and only when the row still exists.