Options
All
  • Public
  • Public/Protected
  • All
Menu

The state of the player in Spotify

export
interface

PlayerState

Hierarchy

  • PlayerState

Index

Properties

isPaused

isPaused: boolean

Whether the player is Paused

memberof

PlayerState

playbackOptions

playbackOptions: PlaybackOptions

Current Playback options

memberof

PlayerState

playbackPosition

playbackPosition: number

Current playback position in ms

memberof

PlayerState

playbackRestrictions

playbackRestrictions: PlaybackRestrictions

Any playback restrictions for the current user account

memberof

PlayerState

playbackSpeed

playbackSpeed: any

Playback speed (podcasts)

memberof

PlayerState

track

track: Track

The Current Track

memberof

PlayerState

Legend

  • Property
  • Method

Generated using TypeDoc