GCKUIMediaController.h 檔案
typedef NSString* _Nonnull(^ GCKUIValueFormatter)(const id value) |
GCKUIControlStateRepeatOff |
GCKUIButtonStateRepeatOff |
GCKUIControlStateRepeatAll |
GCKUIButtonStateRepeatAll |
GCKUIControlStateRepeatSingle |
GCKUIButtonStateRepeatSingle |
播放/暫停切換鈕的自訂 GCKUIMultistateButton 狀態。
表示媒體正在播放並已播放。
- 開始時間
- 4.0
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["`GCKUIMediaController` provides UI controls for managing and displaying media playback on Cast receivers."],["The `GCKUIMediaControllerDelegate` protocol enables you to respond to media control events."],["`GCKUIValueFormatter` is a block for formatting values as strings in the UI."],["Several constants, including `GCKUIControlStateRepeatOff`, `GCKUIControlStateRepeatAll`, and `GCKUIControlStatePlay`, define UI states for controlling media playback."],["`GCKUIMultistateButton` provides support for buttons with multiple states, like play/pause and repeat modes."]]],[]]