GCKMediaStatus.h File

GCKMediaStatus.h File Reference

GCKMediaPlayerState and GCKMediaPlayerIdleReason enums. More...

Classes

class  GCKMediaStatus
 A class that holds status information about some media. More...
 

Enumerations

enum  GCKMediaPlayerState {
  GCKMediaPlayerStateUnknown = 0, GCKMediaPlayerStateIdle = 1, GCKMediaPlayerStatePlaying = 2, GCKMediaPlayerStatePaused = 3,
  GCKMediaPlayerStateBuffering = 4, GCKMediaPlayerStateLoading = 5
}
 Media player states. More...
 
enum  GCKMediaPlayerIdleReason {
  GCKMediaPlayerIdleReasonNone = 0, GCKMediaPlayerIdleReasonFinished = 1, GCKMediaPlayerIdleReasonCancelled = 2, GCKMediaPlayerIdleReasonInterrupted = 3,
  GCKMediaPlayerIdleReasonError = 4
}
 Media player idle reasons. More...
 

Detailed Description

GCKMediaPlayerState and GCKMediaPlayerIdleReason enums.

Enumeration Type Documentation

Media player states.

Enumerator
GCKMediaPlayerStateUnknown 

Constant indicating unknown player state.

GCKMediaPlayerStateIdle 

Constant indicating that the media player is idle.

GCKMediaPlayerStatePlaying 

Constant indicating that the media player is playing.

GCKMediaPlayerStatePaused 

Constant indicating that the media player is paused.

GCKMediaPlayerStateBuffering 

Constant indicating that the media player is buffering.

GCKMediaPlayerStateLoading 

Constant indicating that the media player is loading media.

Media player idle reasons.

Enumerator
GCKMediaPlayerIdleReasonNone 

Constant indicating that the player currently has no idle reason.

GCKMediaPlayerIdleReasonFinished 

Constant indicating that the player is idle because playback has finished.

GCKMediaPlayerIdleReasonCancelled 

Constant indicating that the player is idle because playback has been cancelled in response to a STOP command.

GCKMediaPlayerIdleReasonInterrupted 

Constant indicating that the player is idle because playback has been interrupted by a LOAD command.

GCKMediaPlayerIdleReasonError 

Constant indicating that the player is idle because a playback error has occurred.