Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The GCKMediaStatus class provides comprehensive status information about media playback on a Cast receiver, including details like playback state, position, volume, and queue status.
It offers methods to check queue status, supported media commands, and retrieve specific queue items by index or ID.
It exposes numerous properties to access media information, session details, playback rate, volume, mute state, repeat mode, active track IDs, video information, custom data, and ad playback status.
This class inherits from NSObject and conforms to the NSCopying protocol.
Developers can use this class to monitor and control the playback of media content on Cast receivers.
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"]]