GCKMediaStatus.h 檔案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 列舉。更多...
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKMediaPlayerState) |
|
GCKMediaPlayerState 和 GCKMediaPlayerIdleReason 列舉。
媒體播放器閒置原因。
分子 |
---|
GCKMediaPlayerIdleReasonNone |
表示玩家目前未閒置原因的常數。
|
GCKMediaPlayerIdleReasonFinished |
表示播放器因播放完畢而處於閒置狀態。
|
GCKMediaPlayerIdleReasonCancelled |
表示播放器閒置,因為系統因回應「停止」指令而取消播放。
|
GCKMediaPlayerIdleReasonInterrupted |
這個常數表示播放器因播放受到 LOAD 指令中斷而處於閒置狀態。
|
GCKMediaPlayerIdleReasonError |
表示播放器因播放錯誤而處於閒置狀態的常數。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThe \u003ccode\u003eGCKMediaStatus\u003c/code\u003e class provides status information about media playback.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKMediaPlayerState\u003c/code\u003e enum defines the different playback states of a media player.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKMediaPlayerIdleReason\u003c/code\u003e enum defines the reasons why a media player is idle, including finished playback, cancellation, interruption, and error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKMediaStatus.h\u003c/code\u003e file defines these enums and the \u003ccode\u003eGCKMediaStatus\u003c/code\u003e class, allowing developers to manage media status and playback on Google Cast devices.\u003c/p\u003e\n"]]],["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,[]]