foo-webview-sdk
    Preparing search index...

    Interface PlaylistActivatedPayload

    Payload of the playlist:activated event. The active playlist changed.

    interface PlaylistActivatedPayload {
        newGuid: string | null;
        newIndex: number;
        oldIndex: number;
    }
    Index
    newGuid: string | null

    GUID of the playlist active now; null when none is. No GUID is given for the playlist active before: it may be the one just removed.

    newIndex: number

    Index of the playlist active now; -1 when none is.

    oldIndex: number

    Index of the playlist active before; -1 when none was.