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.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGCKMediaCommon.h\u003c/code\u003e file defines enums and variables related to media control, such as resume states and repeat modes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKMediaControlChannelResumeState\u003c/code\u003e enum dictates the desired playback state: unchanged, play, or pause.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKMediaRepeatMode\u003c/code\u003e enum controls queue repeat behavior: unchanged, off, single, all, or all and shuffle.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekGCKInvalidTimeInterval\u003c/code\u003e represents an invalid time interval for optional stream positions or durations.\u003c/p\u003e\n"]]],["This document outlines key media control settings within the GCKMediaCommon.h file. It defines two enumerations: `GCKMediaControlChannelResumeState`, which manages player states (unchanged, play, pause), and `GCKMediaRepeatMode`, which controls queue playback repetition (unchanged, off, single, all, all and shuffle). Additionally, it introduces `kGCKInvalidTimeInterval`, a constant for signifying an invalid time interval, used in methods dealing with optional time durations or stream positions.\n"],null,[]]