BCOVPlayerSDKManager(BCOVFWAdditions) Category Reference

Declared in BCOVFWComponent.h

Overview

Category methods added to BCOVPlayerSDKManager to support FW.

– createFWPlaybackControllerWithAdContextPolicy:viewStrategy:

Creates a playback controller with the given adContextPolicy and viewStrategy. This method uses a FreeWheel plugin with its default settings. To customize FreeWheel plugin, use createFWSessionProviderWithAdContextPolicy:upstreamSessionProvider:options.

- (id<BCOVPlaybackController>)createFWPlaybackControllerWithAdContextPolicy:(BCOVFWSessionProviderAdContextPolicy)adContextPolicy viewStrategy:(BCOVPlaybackControllerViewStrategy)strategy

Parameters

adContextPolicy

The block that constructs the FWAdContext to be used per video.

strategy

The view strategy for the playbackController.view property.

Return Value

A playback controller.

Discussion

Creates a playback controller with the given adContextPolicy and viewStrategy. This method uses a FreeWheel plugin with its default settings. To customize FreeWheel plugin, use createFWSessionProviderWithAdContextPolicy:upstreamSessionProvider:options.

Declared In

BCOVFWComponent.h

– createFWSessionProviderWithAdContextPolicy:upstreamSessionProvider:options:

Creates a session provider that can be used to create a playback controller.

- (id<BCOVPlaybackSessionProvider>)createFWSessionProviderWithAdContextPolicy:(BCOVFWSessionProviderAdContextPolicy)adContextPolicy upstreamSessionProvider:(id<BCOVPlaybackSessionProvider>)provider options:(BCOVFWSessionProviderOptions *)options

Parameters

adContextPolicy

The block that constructs the FWAdContext to be used per video.

provider

Another provider to be used, if nil, default will be used.

options

The options to customize the FreeWheel plugin.

Return Value

A session provider.

Discussion

Creates a session provider that can be used to create a playback controller.

Declared In

BCOVFWComponent.h