foo-webview-sdk
    Preparing search index...

    Interface QueueMoveToTopParams

    Parameters for queue.moveToTop. Move a queued entry to the front so it plays next. Only queue order changes; the relative order of the other entries is kept. An index of 0, one past the end, and any index while the queue is empty fail with INVALID_INDEX. When the queue cannot be rebuilt the call fails with OPERATION_FAILED, the failure carrying queueCount.

    interface QueueMoveToTopParams {
        expectedVersion?: string;
        index: number;
    }
    Index
    expectedVersion?: string

    Expected content version for optimistic concurrency control. When mismatched, mutations are aborted with STALE_TARGET (details.current carries current version). Omitted, no check is made.

    index: number

    Position of the entry to promote; 0 is already the front and is refused.