Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
GCKMediaStatus is a class that holds status information about some media, inheriting from NSObject and implementing <NSCopying>.
It provides methods to check the playback queue, such as queueHasNextItem and queueItemCount, and to retrieve items by index or ID.
The class includes public attributes as bitmasks to indicate supported media commands like pause, seek, volume changes, and skipping.
Properties of GCKMediaStatus provide details on the media session ID, player state, playback rate, stream position, volume, mute state, queue information, active tracks, video info, custom data, and ad break status.
This value is only meaningful if the player state is GCKMediaPlayerStateIdle.
- (float) playbackRate
readnonatomicassign
Gets the current stream playback rate.
This will be negative if the stream is seeking backwards, 0 if the stream is paused, 1 if the stream is playing normally, and some other postive value if the stream is seeking forwards.
[[["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 `GCKMediaStatus` class provides information about media playback. It manages media queues, including checking for next or previous items, retrieving items by index or ID, and counting the items. It supports media control commands such as pause, seek, volume adjustment, mute, skip forward/backward, and queue navigation. Key properties include session ID, player state, playback rate, stream position, volume, and mute status. It also provides properties for current, next, preloaded and loading queue items, active track IDs and ad playback status.\n"]]