GCKMediaCommon.h File

GCKMediaCommon.h File Reference

GCKMediaResumeState and GCKMediaRepeatMode enums. More...

Macros

#define GCKMediaControlChannelResumeStateUnchanged   GCKMediaResumeStateUnchanged
 Alias for GCKMediaResumeStateUnchanged. More...
 
#define GCKMediaControlChannelResumeStatePlay   GCKMediaResumeStatePlay
 Alias for GCKMediaResumeStatePlay. More...
 
#define GCKMediaControlChannelResumeStatePause   GCKMediaResumeStatePause
 Alias for GCKMediaResumeStatePause. More...
 

Typedefs

typedef GCKMediaResumeState GCKMediaControlChannelResumeState
 

Enumerations

enum  GCKMediaResumeState { GCKMediaResumeStateUnchanged = 0, GCKMediaResumeStatePlay = 1, GCKMediaResumeStatePause = 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...
 

Functions

BOOL GCKIsValidTimeInterval (NSTimeInterval timeInterval)
 Tests if the given time interval value is kGCKInvalidTimeInterval. More...
 

Variables

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

Detailed Description

GCKMediaResumeState and GCKMediaRepeatMode enums.

Macro Definition Documentation

#define GCKMediaControlChannelResumeStateUnchanged   GCKMediaResumeStateUnchanged

Alias for GCKMediaResumeStateUnchanged.

Deprecated:
Use GCKMediaResumeStateUnchanged instead.
#define GCKMediaControlChannelResumeStatePlay   GCKMediaResumeStatePlay

Alias for GCKMediaResumeStatePlay.

Deprecated:
Use GCKMediaResumeStatePlay instead.
#define GCKMediaControlChannelResumeStatePause   GCKMediaResumeStatePause

Alias for GCKMediaResumeStatePause.

Deprecated:
Use GCKMediaResumeStatePause instead.

Typedef Documentation

Deprecated:
Renamed to GCKMediaResumeState.

Enumeration Type Documentation

Enum defining the media control channel resume state.

Enumerator
GCKMediaResumeStateUnchanged 

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

GCKMediaResumeStatePlay 

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

GCKMediaResumeStatePause 

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.

Function Documentation

BOOL GCKIsValidTimeInterval ( NSTimeInterval  timeInterval)

Tests if the given time interval value is kGCKInvalidTimeInterval.

Since
4.0

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...