GCKUICastContainerViewController Class
Stay organized with collections
Save and categorize content based on your preferences.
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.
- (NSString* const) kGCKExpandedMediaControlsTriggeredNotification |
The name of the notification that will be published when the expanded media controls should be presented to users.
- (UIViewController*) contentViewController |
|
readnonatomicstrong |
The view controller to be embedded as the content area of this view controller.
The "now playing" view controller.
- (BOOL) miniMediaControlsItemEnabled |
|
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKUICastContainerViewController` wraps another view controller and adds a media playback notification area."],["The notification area displays media information like thumbnail, title, subtitle, progress bar, and play/pause controls."],["It automatically shows or hides based on the receiver's playback state."],["Developers can embed their view controller as content and control the \"now playing\" item's visibility."],["It provides a notification to trigger expanded media controls."]]],[]]