BCOVGoogleCastManager Class Reference

Inherits from NSObject
Conforms to BCOVPlaybackSessionConsumer
Declared in BCOVGoogleCastManager.h

Other Methods

– prepareForReuse

Resets the state of the BCOVGoogleCastManager instance

- (void)prepareForReuse

Discussion

If using a shared BCOVGoogleCastManager instance across view controllers you can call this method as needed to clear out data pertaining to the previously casted video.

Declared In

BCOVGoogleCastManager.h

  delegate

The delegate object that will receive events from the manager

@property (nonatomic, weak) id<BCOVGoogleCastManagerDelegate> delegate

Discussion

The delegate object that will receive events from the manager

Declared In

BCOVGoogleCastManager.h

  fallbackPosterImage

The GCKImage that will be used when there is no poster image available for a video

@property (nonatomic, strong) GCKImage *fallbackPosterImage

Discussion

The GCKImage that will be used when there is no poster image available for a video

Declared In

BCOVGoogleCastManager.h

  posterImageSize

The height and width that you want to use for the GCKImage object image that is created. Defaults to 480h x 720w

@property (nonatomic, assign) CGSize posterImageSize

Discussion

The height and width that you want to use for the GCKImage object image that is created. Defaults to 480h x 720w

Declared In

BCOVGoogleCastManager.h

  useLocalizedVariantForCastMediaMedadata

Whether to use a language variant, if available, with GCKMediaMetadata

@property (nonatomic, assign) BOOL useLocalizedVariantForCastMediaMedadata

Discussion

Whether to use a language variant, if available, with GCKMediaMetadata

Defaults to YES

Declared In

BCOVGoogleCastManager.h

BrightcoveCastReceiver Methods

– initForBrightcoveReceiverApp:

The Google Cast receiver app configuration

- (instancetype)initForBrightcoveReceiverApp:(BCOVReceiverAppConfig *)appConfig

Parameters

appConfig

The Google Cast receiver app configuration

Return Value

An instance of BCOVGoogleCastManager configured to make use of the Brightcove Google Cast Receiver App.

Declared In

BCOVReceiverAppConfig.h

  appConfig

@property (nonatomic, strong, readonly) BCOVReceiverAppConfig *appConfig