foo-webview-sdk
    Preparing search index...

    Interface PlaybackSetPositionParams

    Parameters for playback.setPosition. Seek within the current track (playing or paused). Target position is clamped to the track boundary: negative values seek to the beginning, values exceeding duration clamp just before the end to prevent track advance; tracks of unknown length have no upper clamp. Fails with NO_ACTIVE_ITEM with nothing playing, or NOT_SUPPORTED for a track that cannot seek, such as most streams.

    interface PlaybackSetPositionParams {
        position: number;
    }
    Index
    position: number

    Target position in seconds.