foo-webview-sdk
    Preparing search index...

    Interface PlaylistGetPlayingSuccess

    Successful response from playlist.getPlaying.

    interface PlaylistGetPlayingSuccess {
        duration?: number;
        found: boolean;
        guid?: string;
        index?: number;
        isActive?: boolean;
        isLocked?: boolean;
        isPlaying?: boolean;
        name?: string;
        success: true;
        trackCount?: number;
    }
    Index
    duration?: number

    Total length of its tracks in seconds; tracks of unknown length count as 0.

    found: boolean

    Whether there is a playing playlist.

    guid?: string

    Unique identifier of the playlist, formatted as {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}. Pass as playlistGuid to reliably target this playlist.

    index?: number

    Index of the playing playlist.

    isActive?: boolean

    Whether it is also the active playlist.

    isLocked?: boolean

    Whether it carries a lock.

    isPlaying?: boolean

    Always true here.

    name?: string

    Its name.

    success: true

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

    trackCount?: number

    Number of tracks.