foo-webview-sdk
    Preparing search index...

    Interface QueueAddPathsParams

    Parameters for queue.addPaths. Queue tracks by path. Queueing needs playlist membership, so the paths are appended to a playlist first: by default a dedicated [WebView Queue] playlist, created when missing. A locked target playlist fails with LOCKED, and nothing is added or queued. The target is looked up again after the paths are resolved, as in playlist.addPaths: moved meanwhile, it still gets the tracks and playlist in the result is its new index; removed meanwhile, the call fails with OPERATION_FAILED and nothing is queued. A path the media-root check refuses fails the whole call with PERMISSION_DENIED. Paths that resolve to nothing are dropped; when none resolves the call fails with NOT_FOUND, the failure carrying invalidCount.

    interface QueueAddPathsParams {
        paths: string[];
        playlist?: number;
        playlistGuid?: string;
        useQueuePlaylist?: boolean;
    }
    Index
    paths: string[]

    File paths or URLs, each optionally with a |subsong:N suffix. Entries longer than 2048 characters are dropped and counted in invalidCount.

    playlist?: number

    Target playlist; read only when useQueuePlaylist is false. An index past the last playlist fails with INVALID_INDEX; with this and playlistGuid omitted and no active playlist the call fails with NO_ACTIVE_ITEM.

    playlistGuid?: string

    The target playlist's guid, instead of playlist; like playlist it is read only when useQueuePlaylist is false, and not checked at all otherwise.

    useQueuePlaylist?: boolean

    Append to the dedicated [WebView Queue] playlist, creating it when missing. false uses playlist, or the active playlist when that is omitted too.

    true