GCKMediaStatus.h 文件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 枚举。
更多...
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKMediaPlayerState) |
|
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 枚举。
媒体播放器闲置原因。
枚举器 |
---|
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。"],[],["The core content details the `GCKMediaStatus.h` file, which defines a `GCKMediaStatus` class for media status information. It also outlines the `GCKMediaPlayerIdleReason` enumeration, specifying possible idle states of a media player: `None`, `Finished`, `Cancelled`, `Interrupted`, and `Error`. Additionally it details the functions for `GCKMediaPlayerState` enumeration type. Each idle reason indicates a specific condition under which the media player is inactive, such as completion of playback or encountering an error.\n"],null,[]]