AI-generated Key Takeaways
-
GCKUIMediaButtonBarProtocol.h is a file reference that includes definitions for a protocol and an enumeration.
-
The file defines the GCKUIMediaButtonBarProtocol delegate protocol.
-
The GCKUIMediaButtonType enumeration lists various media control button types, including default options like play/pause, skip, rewind/forward, mute, closed captions, and stop, as well as a custom option.
GCKUIMediaButtonTypeNone , GCKUIMediaButtonTypePlayPauseToggle , GCKUIMediaButtonTypeSkipNext , GCKUIMediaButtonTypeSkipPrevious ,
GCKUIMediaButtonTypeRewind30Seconds , GCKUIMediaButtonTypeForward30Seconds , GCKUIMediaButtonTypeMuteToggle , GCKUIMediaButtonTypeClosedCaptions ,
GCKUIMediaButtonTypeStop , GCKUIMediaButtonTypeCustom
}
Enumeration Type Documentation
Media control button types.
- Since
- 3.1
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.
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.
A default "rewind 30 seconds" button.
When tapped, playback skips 30 seconds back in the currently playing media item.
A default "forward 30 seconds" button.
When tapped, playback skips 30 seconds forward in the currently playing media item.
A default "mute toggle" button.
When tapped, the receiver's mute state is toggled.
A default "closed captions" button.
When the button is tapped, the media tracks selection UI is displayed to the user.
A default "stop" button.
Whe the button is tapped, playback of the current media item is terminated on the receiver.
A button created and managed by the client.

