AI-generated Key Takeaways
-
GCKUICastContainerViewController
wraps another view controller and adds a media playback notification area. -
This notification area displays a "now playing" item with thumbnail, title, subtitle, progress bar, and play/pause control.
-
It automatically shows and hides based on the media playback state on the receiver.
-
You can enable or disable the "now playing" item using
miniMediaControlsItemEnabled
property. -
Developers can embed their own view controller using the
contentViewController
property.
Overview
A view controller which wraps another View Controller and adds a media playback notification area below that controller.
The notification can display a "now playing" item that displays a thumbnail, title, and subtitle for the current media item, a stream progress bar, and a play/pause toggle button. The controller shows and hides this item as appropriate based on the current media playback state on the receiver.
- Since
- 3.0
Inherits UIViewController.
Property Summary | |
UIViewController * | contentViewController |
The view controller to be embedded as the content area of this view controller. More... | |
GCKUIMiniMediaControlsViewController * | miniMediaControlsViewController |
The "now playing" view controller. More... | |
BOOL | miniMediaControlsItemEnabled |
A flag indicating whether the "now playing" item should be enabled. More... | |
Property Detail
|
readnonatomicstrong |
The view controller to be embedded as the content area of this view controller.
|
readnonatomicstrong |
The "now playing" view controller.
|
readwritenonatomicassign |
A flag indicating whether the "now playing" item should be enabled.
If enabled, the item will be displayed automatically whenever there is media content loaded or playing on the receiver. The default value is NO
.