foo-webview-sdk
    Preparing search index...

    Interface PlaylistGetTrackCountParams

    Parameters for playlist.getTrackCount. Report how many tracks a playlist holds. An index past the last playlist, a playlistGuid no playlist has, or no active playlist when both are omitted, reports 0 rather than failing.

    interface PlaylistGetTrackCountParams {
        playlist?: number;
        playlistGuid?: string;
    }
    Index
    playlist?: number

    Index of the playlist; omitted, the active playlist.

    playlistGuid?: string

    Persistent unique identifier of a playlist, used in place of an index. For read queries where a missing target returns an empty result instead of failing. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS.