Options
All
  • Public
  • Public/Protected
  • All
Menu

Adaptr

Index

Type aliases

PlayerState

PlayerState: "unavailable" | "uninitialized" | "playing" | "paused" | "stalled" | "idle"

The possible states the player can be in:

  • uninitialized - initialize has not been called yet
  • unavailable - no music is available for this user, and the player will not play music
  • idle - the player is initialized, but is not playing any audio
  • playing - the player is actively playing a song
  • paused - the player has paused playback of a song
  • stalled - the player is waiting for audio data or a response from the adaptr servers

Generated using TypeDoc