GCKMediaStatus.h File
Stay organized with collections
Save and categorize content based on your preferences.
GCKMediaPlayerState and GCKMediaPlayerIdleReason enums.
More...
GCKMediaPlayerState and GCKMediaPlayerIdleReason enums.
Media player states.
Enumerator |
---|
GCKMediaPlayerStateUnknown |
Constant indicating unknown player state.
|
GCKMediaPlayerStateIdle |
Constant indicating that the media player is idle.
|
GCKMediaPlayerStatePlaying |
Constant indicating that the media player is playing.
|
GCKMediaPlayerStatePaused |
Constant indicating that the media player is paused.
|
GCKMediaPlayerStateBuffering |
Constant indicating that the media player is buffering.
|
GCKMediaPlayerStateLoading |
Constant indicating that the media player is loading media.
|
Media player idle reasons.
Enumerator |
---|
GCKMediaPlayerIdleReasonNone |
Constant indicating that the player currently has no idle reason.
|
GCKMediaPlayerIdleReasonFinished |
Constant indicating that the player is idle because playback has finished.
|
GCKMediaPlayerIdleReasonCancelled |
Constant indicating that the player is idle because playback has been cancelled in response to a STOP command.
|
GCKMediaPlayerIdleReasonInterrupted |
Constant indicating that the player is idle because playback has been interrupted by a LOAD command.
|
GCKMediaPlayerIdleReasonError |
Constant indicating that the player is idle because a playback error has occurred.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe Cast SDK provides a comprehensive framework and UI elements for integrating live stream playback into your application.\u003c/p\u003e\n"],["\u003cp\u003eLive streams can be implemented by intercepting LOAD messages or by generating specific load requests with live stream settings.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can enhance the user experience by displaying program guide data using MediaMetadata objects.\u003c/p\u003e\n"],["\u003cp\u003eThe Cast SDK offers control over live seekable range, allowing users to seek within the stream and providing developers with tools to manage seek behavior.\u003c/p\u003e\n"],["\u003cp\u003ePlayback behavior for live streams varies depending on seekability and stream settings, with options for resuming from the live edge or a paused position.\u003c/p\u003e\n"]]],["The core content details the `GCKMediaStatus` class and two enumerations: `GCKMediaPlayerState` and `GCKMediaPlayerIdleReason`. The `GCKMediaStatus` class holds media status information. `GCKMediaPlayerState` defines states like Unknown, Idle, Playing, Paused, Buffering, and Loading. `GCKMediaPlayerIdleReason` specifies why a player is idle, with options like None, Finished, Cancelled, Interrupted, and Error, each representing a specific condition.\n"],null,[]]