foo-webview-sdk
    Preparing search index...

    Interface PlaylistSetActiveParams

    Parameters for playlist.setActive. Make a playlist the active one. An index past the last playlist fails with INVALID_INDEX.

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

    Index of the playlist to activate. Give this or playlistGuid; with neither the call fails with INVALID_PARAMS.

    playlistGuid?: string

    Persistent unique identifier of a playlist (bracketed GUID, case-insensitive), used in place of a mutable index. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS. Fails with NOT_FOUND if the playlist does not exist, never falling back. Invalid-format and not-found failures return the given GUID in details.playlistGuid.