GCKUICastContainerViewController Class

GCKUICastContainerViewController Class Reference

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.

Public Attributes

NSString *const kGCKExpandedMediaControlsTriggeredNotification
 The name of the notification that will be published when the expanded media controls should be presented to users. More...
 

Property Summary

UIViewController * contentViewController
 The view controller to be embedded as the content area of this view controller. More...
 
GCKUIMiniMediaControlsViewControllerminiMediaControlsViewController
 The "now playing" view controller. More...
 
BOOL miniMediaControlsItemEnabled
 A flag indicating whether the "now playing" item should be enabled. More...
 

Member Data Documentation

- (NSString* const) kGCKExpandedMediaControlsTriggeredNotification

The name of the notification that will be published when the expanded media controls should be presented to users.

Property Detail

- (UIViewController*) contentViewController
readnonatomicstrong

The view controller to be embedded as the content area of this view controller.

- (GCKUIMiniMediaControlsViewController*) miniMediaControlsViewController
readnonatomicstrong

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.