<GCKUIMediaController 委派> 通訊協定(&T)
繼承 <NSObjectNSObject>。
- (void) mediaController: |
|
(GCKUIMediaController *) |
mediaController |
didUpdatePlayerState: |
|
(GCKMediaPlayerState) |
playerState |
lastStreamPosition: |
|
(NSTimeInterval) |
streamPosition |
|
|
| |
|
optional |
當遠端媒體播放器狀態變更時呼叫。
- Parameters
-
mediaController | The GCKUIMediaController instance. |
playerState | The new player state. |
streamPosition | The last known stream position at the time of the player state change. |
- (void) mediaController: |
|
(GCKUIMediaController *) |
mediaController |
didBeginPreloadForItemID: |
|
(NSUInteger) |
itemID |
|
|
| |
|
optional |
在即將開始的媒體佇列項目預先載入時呼叫。
- Parameters
-
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[null,null,["上次更新時間:2023-12-01 (世界標準時間)。"],[[["The `GCKUIMediaControllerDelegate` protocol defines methods that respond to changes in media playback state and status on a Cast device."],["It provides notifications for events like player state changes, media status updates, and preloading of media items."],["Developers can implement these methods to update their UI and application logic based on the current playback state and media information."],["These methods are optional and called by the `GCKUIMediaController` instance to inform the delegate of changes."]]],[]]