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."],[],["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,[]]