GCKMediaCommon.h File

GCKMediaCommon.h File Reference

GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode. More...

Enumerations

enum  GCKMediaControlChannelResumeState { GCKMediaControlChannelResumeStateUnchanged = 0, GCKMediaControlChannelResumeStatePlay = 1, GCKMediaControlChannelResumeStatePause = 2 }
 Enum defining the media control channel resume state. More...
 
enum  GCKMediaRepeatMode {
  GCKMediaRepeatModeUnchanged = 0, GCKMediaRepeatModeOff = 1, GCKMediaRepeatModeSingle = 2, GCKMediaRepeatModeAll = 3,
  GCKMediaRepeatModeAllAndShuffle = 4
}
 Enum defining the media control channel queue playback repeat modes. More...
 

Variables

const NSTimeInterval kGCKInvalidTimeInterval
 A constant indicating an invalid time interval. More...
 

Detailed Description

GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode.

Enumeration Type Documentation

Enum defining the media control channel resume state.

Enumerator
GCKMediaControlChannelResumeStateUnchanged 

A resume state indicating that the player state should be left unchanged.

GCKMediaControlChannelResumeStatePlay 

A resume state indicating that the player should be playing, regardless of its current state.

GCKMediaControlChannelResumeStatePause 

A resume state indicating that the player should be paused, regardless of its current state.

Enum defining the media control channel queue playback repeat modes.

Enumerator
GCKMediaRepeatModeUnchanged 

A repeat mode indicating that the repeat mode should be left unchanged.

GCKMediaRepeatModeOff 

A repeat mode indicating no repeat.

GCKMediaRepeatModeSingle 

A repeat mode indicating that a single queue item should be played repeatedly.

GCKMediaRepeatModeAll 

A repeat mode indicating that the entire queue should be played repeatedly.

GCKMediaRepeatModeAllAndShuffle 

A repeat mode indicating that the entire queue should be played repeatedly.

The order of the items will be randomly shuffled once the last item in the queue finishes. The queue will continue to play starting from the first item of the shuffled items.

Variable Documentation

kGCKInvalidTimeInterval

A constant indicating an invalid time interval.

May be passed to methods which accept optional stream positions or time durations.

Send feedback about...