Documentation
    Preparing search index...
    • Will reset TIDAL Player from any current state and immediately make a transition to the provided media product.

      Playback state will immediately change to NOT_PLAYING.

      Parameters

      • mediaProduct: MediaProduct

        The media product to load.

      • assetPosition: number = 0

        At which time in seconds playback should start when later calling the play method, defaults to 0.

      • prefetch: boolean = false

        Wether or not this is a prefetch. This should be set to true if you need a media product transition to boot the UI.

      Returns Promise<void>

      • On resolve, the requested media product is considered the active one and a MediaProductTransition will have been sent.

      import('../../api/event/playback-state-change').PlaybackStateChange