BCOVPlayerSDKManager(BCOVPulseAdditions) Category Reference

Declared in BCOVPulseComponent.h

Overview

Category methods added to BCOVPlayerSDKManager to support Pulse.

– createPulsePlaybackControllerWithPulseHost:contentMetadata:requestSettings:adContainer:companionSlots:viewStrategy:options:

Creates and returns a new playback controller with the specified Pulse host, OOContentMetadata object, OORequestSettings object, and user options. The returned playback controller will be configured with a Pulse session provider.

- (id<BCOVPlaybackController>)createPulsePlaybackControllerWithPulseHost:(NSString *)pulseHost contentMetadata:(OOContentMetadata *)contentMetadata requestSettings:(OORequestSettings *)requestSettings adContainer:(UIView *)adContainer companionSlots:(NSArray *)companionSlots viewStrategy:(BCOVPlaybackControllerViewStrategy)strategy options:(NSDictionary *)options

Parameters

pulseHost

The Pulse hostname for the client account being used.

contentMetadata

An OOContentMetadata that will be used to configure the session object used by the returned playback controller.

requestSettings

An OORequestSettings that will be used to configure the session object used by the returned playback controller.

adContainer

The view in which the ad will be displayed and the ad information UI will be rendered.

companionSlots

An array of BCOVPulseCompanionSlots to be populated.

strategy

A view strategy that determines the view for the returned playback controller.

options

An NSDictionary of Pulse options. Can be nil or empty. The only valid option keys are kBCOVPulseOptionPulsePlaybackSessionDelegateKey kBCOVPulseOptionPulseDeviceContainerKey kBCOVPulseOptionPulsePersistentIdKey

Return Value

A new playback controller with the specified parameters.

Discussion

Creates and returns a new playback controller with the specified Pulse host, OOContentMetadata object, OORequestSettings object, and user options. The returned playback controller will be configured with a Pulse session provider.

Declared In

BCOVPulseComponent.h

– createPulseSessionProviderWithPulseHost:contentMetadata:requestSettings:adContainer:companionSlots:upstreamSessionProvider:options:

Creates and returns a new BCOVPulseSessionProvider with the specified parameters.

- (id<BCOVPlaybackSessionProvider>)createPulseSessionProviderWithPulseHost:(NSString *)pulseHost contentMetadata:(OOContentMetadata *)contentMetadata requestSettings:(OORequestSettings *)requestSettings adContainer:(UIView *)adContainer companionSlots:(NSArray *)companionSlots upstreamSessionProvider:(id<BCOVPlaybackSessionProvider>)provider options:(NSDictionary *)options

Parameters

pulseHost

The Pulse hostname for the client account being used.

contentMetadata

An OOContentMetadata that will be used to configure the session object used by the returned playback controller.

requestSettings

An OORequestSettings that will be used to configure the session object used by the returned playback controller.

adContainer

The view in which the ad will be displayed and the ad information UI will be rendered.

companionSlots

An array of BCOVPulseCompanionSlots to be populated.

provider

A session provider to attach upstream and deliver playback sessions to the returned session provider.

options

An NSDictionary of Pulse options. Can be nil or empty. The only valid option keys are kBCOVPulseOptionPulsePlaybackSessionDelegateKey kBCOVPulseOptionPulseDeviceContainerKey kBCOVPulseOptionPulsePersistentIdKey

Return Value

A new BCOVPulseSessionProvider with the specified parameters.

Discussion

Creates and returns a new BCOVPulseSessionProvider with the specified parameters.

Declared In

BCOVPulseComponent.h