GCKUIMediaController.h ファイル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
typedef NSString* _Nonnull(^ GCKUIValueFormatter)(const id value) |
任意のオブジェクトを NSString としてフォーマットするためのブロック。
- 開始:
- 3.0
GCKUIControlStateRepeatOff |
GCKUIButtonStateRepeatOff |
GCKUIControlStateRepeatAll |
GCKUIButtonStateRepeatAll |
GCKUIControlStateRepeatSingle |
GCKUIButtonStateRepeatSingle |
再生/一時停止切り替えボタンのカスタム GCKUIMultistateButton 状態。
メディアが再生中でライブであることを示します。
- 開始:
- 4.0
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003eGCKUIMediaController\u003c/code\u003e provides UI controls for managing and displaying media playback on Cast receivers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKUIMediaControllerDelegate\u003c/code\u003e protocol enables you to respond to media control events.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKUIValueFormatter\u003c/code\u003e is a block for formatting values as strings in the UI.\u003c/p\u003e\n"],["\u003cp\u003eSeveral constants, including \u003ccode\u003eGCKUIControlStateRepeatOff\u003c/code\u003e, \u003ccode\u003eGCKUIControlStateRepeatAll\u003c/code\u003e, and \u003ccode\u003eGCKUIControlStatePlay\u003c/code\u003e, define UI states for controlling media playback.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKUIMultistateButton\u003c/code\u003e provides support for buttons with multiple states, like play/pause and repeat modes.\u003c/p\u003e\n"]]],["This document outlines the `GCKUIMediaController` for controlling media playback on a Cast receiver. It defines `GCKUIMediaController` class and its delegate protocol, `GCKUIMediaControllerDelegate`. It includes `GCKUIValueFormatter`, a typedef for formatting objects as strings. It defines variables for UI control states and multi-state button states related to repeat modes (off, all, single, shuffle) and play/pause toggles, such as `GCKUIControlStateRepeatOff`, `GCKUIButtonStatePlay` and `GCKUIButtonStatePlayLive`, with some being deprecated.\n"],null,[]]