קובץ GCKUIMediaController.h
typedef NSString* _Nonnull(^ GCKUIValueFormatter)(const id value) |
חסימה לעיצוב אובייקט שרירותי כ-NSString.
- מאז
- 3.0
GCKUIControlStateRepeatOff |
GCKUIButtonStateRepeatOff |
GCKUIControlStateRepeatAll |
GCKUIButtonStateRepeatAll |
GCKUIControlStateRepeatSingle |
GCKUIButtonStateRepeatSingle |
מצב מותאם אישית של GCKUIMultistatebutton ללחצן ההפעלה/ההשהיה.
מציין שהמדיה פועלת ומשודרת.
- מאז
- 4.0
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-02 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["`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."]]],["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"]]