GCKMediaCommon.h File
Stay organized with collections
Save and categorize content based on your preferences.
GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode.
More...
GCKMedaiControlChannelResumeState, and GCKMediaRepeatMode.
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.
|
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."],[[["The `GCKMediaCommon.h` file defines enums and variables related to media control, such as resume states and repeat modes."],["`GCKMediaControlChannelResumeState` enum dictates the desired playback state: unchanged, play, or pause."],["`GCKMediaRepeatMode` enum controls queue repeat behavior: unchanged, off, single, all, or all and shuffle."],["`kGCKInvalidTimeInterval` represents an invalid time interval for optional stream positions or durations."]]],[]]