GCKMediaCommon.h FileStay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
The GCKMediaCommon.h file defines enums for media resume states and repeat modes.
Macros like GCKMediaControlChannelResumeStateUnchanged, GCKMediaControlChannelResumeStatePlay, and GCKMediaControlChannelResumeStatePause are aliases for GCKMediaResumeState values.
The GCKMediaControlChannelResumeState typedef is deprecated and has been renamed to GCKMediaResumeState.
The GCKMediaRepeatMode enumeration defines various modes for repeating media playback in a queue, including unchanged, off, single, all, and all and shuffle.
The GCKIsValidTimeInterval function checks if a given time interval is equal to the kGCKInvalidTimeInterval constant.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["This document details the `GCKMediaCommon.h` file, encompassing macros, typedefs, enumerations, functions, and variables related to media control. Key actions include defining aliases for `GCKMediaResumeState` using macros (Unchanged, Play, Pause), and creating `GCKMediaControlChannelResumeState` typedef. It also defines `GCKMediaRepeatMode` enum for repeat options (Unchanged, Off, Single, All, AllAndShuffle). A `GCKIsValidTimeInterval` function checks for `kGCKInvalidTimeInterval`, a constant for invalid time intervals.\n"]]