AdaptrAudioPlayerPlaybackState Constants Reference
Declared in | AdaptrAudioPlayer.h |
---|
AdaptrAudioPlayerPlaybackState
@enum This enum represents the various states the AdaptrAudioPlayer can
be in, as identified by the [AdaptrAudioPlayer playbackState]
.
Definition
typedef NS_ENUM(NSInteger, AdaptrAudioPlayerPlaybackState ) {
AdaptrAudioPlayerPlaybackStateOfflineOnly,
AdaptrAudioPlayerPlaybackStateUninitialized,
AdaptrAudioPlayerPlaybackStateUnavailable,
AdaptrAudioPlayerPlaybackStateWaitingForItem,
AdaptrAudioPlayerPlaybackStateReadyToPlay,
AdaptrAudioPlayerPlaybackStatePlaying,
AdaptrAudioPlayerPlaybackStatePaused,
AdaptrAudioPlayerPlaybackStateStalled,
AdaptrAudioPlayerPlaybackStateRequestingSkip,
AdaptrAudioPlayerPlaybackStateComplete,
};
Constants
AdaptrAudioPlayerPlaybackStateOfflineOnly
-
Offline music is available
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateUninitialized
-
The server has not responded yet, so we don’t know if music is available or not yet.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateUnavailable
-
The server has told us that we cannot stream music.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateWaitingForItem
-
The player is waiting for the server to give it the next song for playback.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateReadyToPlay
-
Initial state of the audio player.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStatePlaying
-
Playback of audio is in progress
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStatePaused
-
Playback is paused
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateStalled
-
Some media did not arrive in time to continue playback, and the player is waiting for more audio data to arrive.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateRequestingSkip
-
The user has requested that the current song be skipped, and the player is waiting for word back from the server if the skip will be allowed.
Declared In
AdaptrAudioPlayer.h
. AdaptrAudioPlayerPlaybackStateComplete
-
When there is no more music to play in the current station, the player enters this state.
Declared In
AdaptrAudioPlayer.h
.
Declared In
AdaptrAudioPlayer.h