GCKUIMediaButtonBarProtocol.h File
Stay organized with collections
Save and categorize content based on your preferences.
Media control button types.
- Since
- 3.1
Enumerator |
---|
GCKUIMediaButtonTypeNone |
No button, results in empty space at a button position.
|
GCKUIMediaButtonTypePlayPauseToggle |
A default button that toggles between play and pause states.
|
GCKUIMediaButtonTypeSkipNext |
A default "next" button.
When tapped, playback moves to the next media item in the queue. It becomes disabled if there is no next media item in the queue.
|
GCKUIMediaButtonTypeSkipPrevious |
A default "previous" button.
When tapped, playback moves to the previous media item in the queue. It becomes disabled if there is no previous media item in the queue.
|
GCKUIMediaButtonTypeRewind30Seconds |
A default "rewind 30 seconds" button.
When tapped, playback skips 30 seconds back in the currently playing media item.
|
GCKUIMediaButtonTypeForward30Seconds |
A default "forward 30 seconds" button.
When tapped, playback skips 30 seconds forward in the currently playing media item.
|
GCKUIMediaButtonTypeMuteToggle |
A default "mute toggle" button.
When tapped, the receiver's mute state is toggled.
|
GCKUIMediaButtonTypeClosedCaptions |
A default "closed captions" button.
When the button is tapped, the media tracks selection UI is displayed to the user.
|
GCKUIMediaButtonTypeStop |
A default "stop" button.
Whe the button is tapped, playback of the current media item is terminated on the receiver.
|
GCKUIMediaButtonTypeCustom |
A button created and managed by the client.
|
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."],[[["This document details the `GCKUIMediaButtonBarProtocol` which provides a delegate protocol for managing media control buttons in Google Cast applications."],["It defines the `GCKUIMediaButtonType` enumeration, encompassing standard media control options like play/pause, skip, rewind, and volume, along with custom button capabilities."],["The enumeration provides various pre-defined button types, enabling developers to integrate standard media controls with ease and flexibility."],["Developers can create custom buttons to extend the functionality and tailor the user interface to specific application needs using the `GCKUIMediaButtonTypeCustom` type."]]],[]]