GCKUIPlaybackRateController Class
-
GCKUIPlaybackRateController is a class used to implement a custom stream playback rate UI.
-
Applications can subclass GCKUIPlaybackRateController and override the
playbackRateandinputEnabledsetters, or use KVO to listen for changes to these properties. -
The
playbackRateproperty reflects the current stream playback rate from the GCKRemoteMediaClient. -
The
inputEnabledproperty is set by GCKUIMediaController to enable or disable the UI controls managed by this controller.
A class that can be used to implement a custom stream playback rate UI.
The application may either subclass this class and override the GCKUIPlaybackRateController::playbackRate and GCKUIPlaybackRateController::inputEnabled setters, or use KVO to listen for changes to these properties, and update its playback rate and/or playback rate UI control(s) accordingly.
- Since
- 4.0
Inherits NSObject.
Instance Method Summary | |
| (instancetype) | - init |
| Designated initializer. More... | |
Property Summary | |
| float | playbackRate |
| The current stream playback rate from the GCKRemoteMediaClient. More... | |
| BOOL | inputEnabled |
| The GCKUIMediaController writes this property to enable or disable the UI control(s) managed by this controller. More... | |
The GCKUIMediaController writes this property to enable or disable the UI control(s) managed by this controller.
Media-related UI controls are temporarily disabled while a media command is in-flight.