GCKMediaStatus Class
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
GCKMediaStatus is a class in the Google Cast SDK for iOS that provides status information about media being cast.
It includes instance methods for initializing the status, checking supported media commands, and accessing queue items.
The class has public attributes representing various media commands and properties for retrieving detailed status like player state, volume, and queue information.
Key properties include mediaSessionID, playerState, playbackRate, streamPosition, and information about the media queue and ad breaks.
It also supports custom data and provides access to video information and the seekable range of live streams.
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"]]