foo-webview-sdk
    Preparing search index...

    Interface PlaylistReorderPlaylistsParams

    Parameters for playlist.reorderPlaylists. Reorder the playlist list, giving for each new position either the current index of the playlist that goes there (newOrder) or its GUID (newOrderGuids); give exactly one of the two, or the call fails with INVALID_PARAMS. Indices are read as the call arrives, so indices taken from playlist.getAll before another change reorder the wrong playlists without an error as long as the count still matches; GUIDs keep naming the playlists they were read from. A list whose length is not the playlist count fails with INVALID_PARAMS, and so does one naming a playlist twice or a malformed GUID; an index past the last playlist fails with INVALID_INDEX, a GUID no playlist has with NOT_FOUND.

    interface PlaylistReorderPlaylistsParams {
        newOrder?: number[];
        newOrderGuids?: string[];
    }
    Index
    newOrder?: number[]

    For each new position, the current index of the playlist that goes there; every playlist exactly once.

    newOrderGuids?: string[]

    For each new position, the guid of the playlist that goes there, as playlist.getAll reports it; every playlist exactly once.