GCKMediaStatus.h 文件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 枚举。
更多...
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 枚举。
媒体播放器状态。
枚举器 |
---|
GCKMediaPlayerStateUnknown |
表示未知玩家状态的常量。
|
GCKMediaPlayerStateIdle |
表示媒体播放器处于空闲状态的常量。
|
GCKMediaPlayerStatePlaying |
表示媒体播放器正在播放的常量。
|
GCKMediaPlayerState paused |
表示媒体播放器已暂停的常量。
|
GCKMediaPlayerStateBuffering |
表示媒体播放器正在缓冲的常量。
|
GCKMediaPlayerStateLoading |
表示媒体播放器正在加载媒体的常量。
|
媒体播放器闲置原因。
枚举器 |
---|
GCKMediaPlayerIdleReasonNone |
表示玩家目前没有空闲原因的常量。
|
GCKMediaPlayerIdleReasonFinished |
表示播放器因播放结束而处于空闲状态的常量。
|
GCKMediaPlayerIdleReasonCancelled |
表示播放器处于空闲状态的常量,因为播放操作因响应 STOP 命令而被取消。
|
GCKMediaPlayerIdleReasonInterrupted |
表示播放器因播放被 LOAD 命令中断而处于空闲状态的常量。
|
GCKMediaPlayerIdleReasonError |
表示播放器因发生播放错误而处于空闲状态的常量。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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,[]]