Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The GCKMediaStatus class provides comprehensive information about the current playback status, including media details, playback state, and volume.
Developers can use this class to manage the playback queue, access information about live streams and ad playback, and handle custom data.
The class offers methods for checking supported media commands and retrieving specific items within the queue.
GCKMediaStatus includes various properties that expose attributes like media session ID, player state, stream position, active track IDs, and more.
This class is crucial for building interactive Cast experiences within iOS applications, enabling developers to monitor and control media playback on receiver devices.
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 positive 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 manages media status, providing information like session ID, player state, playback rate, and volume. It supports media control commands (pause, seek, mute, skip, queue navigation, etc.). The class allows checking if specific commands are supported and retrieving queue items by index or ID. It also offers properties detailing current item, queue status, and ad playback status. Additionally, the class has the ability to obtain and manage data for queue and stream such as `queueData` and `liveSeekableRange`.\n"]]