GCKMediaCommon.h File
Stay organized with collections
Save and categorize content based on your preferences.
GCKMediaResumeState and GCKMediaRepeatMode enums. More...
Alias for GCKMediaResumeStateUnchanged. More...
Alias for GCKMediaResumeStatePlay. More...
Alias for GCKMediaResumeStatePause. More...
typedef GCKMediaResumeState
Enum defining the media control channel queue playback repeat modes. More...
NS_CLOSED_ENUM
(NSInteger, GCKMediaResumeState)
Tests if the given time interval value is kGCKInvalidTimeInterval. More...
A constant indicating an invalid time interval. More...
GCKMediaResumeState and GCKMediaRepeatMode enums.
#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.
Enum defining the media control channel queue playback repeat modes.
GCKMediaRepeatModeUnchanged
A repeat mode indicating that the repeat mode should be left unchanged.
A repeat mode indicating no repeat.
A repeat mode indicating that a single queue item should be played repeatedly.
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.
BOOL GCKIsValidTimeInterval |
( |
NSTimeInterval |
timeInterval
|
) |
|
Tests if the given time interval value is kGCKInvalidTimeInterval.
- Since
- 4.0
A constant indicating an invalid time interval.
May be passed to methods which accept optional stream positions or time durations.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["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."],[[["\u003cp\u003eThis header file defines enums for media resume state and repeat mode, namely \u003ccode\u003eGCKMediaResumeState\u003c/code\u003e and \u003ccode\u003eGCKMediaRepeatMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides macros for GCKMediaResumeState, although they are now deprecated in favor of the enum directly.\u003c/p\u003e\n"],["\u003cp\u003eA typedef \u003ccode\u003eGCKMediaControlChannelResumeState\u003c/code\u003e is also present, but it has been renamed to \u003ccode\u003eGCKMediaResumeState\u003c/code\u003e and is deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe file includes a function \u003ccode\u003eGCKIsValidTimeInterval\u003c/code\u003e to check if a time interval is valid and a constant \u003ccode\u003ekGCKInvalidTimeInterval\u003c/code\u003e to represent an invalid time interval.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKMediaRepeatMode\u003c/code\u003e enum defines various playback repeat modes like \u003ccode\u003eGCKMediaRepeatModeOff\u003c/code\u003e, \u003ccode\u003eGCKMediaRepeatModeSingle\u003c/code\u003e, \u003ccode\u003eGCKMediaRepeatModeAll\u003c/code\u003e, and \u003ccode\u003eGCKMediaRepeatModeAllAndShuffle\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,[]]