BCOVPlayerSDKManager(BCOVIMAAdditions) Category Reference
Declared in | BCOVIMAComponent.h |
---|
– createIMAPlaybackControllerWithSettings:adsRenderingSettings:adsRequestPolicy:adContainer:viewController:companionSlots:viewStrategy:
Creates and returns a new playback controller with the specified IMASettings object, IMAAdsRenderingSettings object, view strategy, and ad container. The returned playback controller will be configured with an IMA session provider.
- (id<BCOVPlaybackController>)createIMAPlaybackControllerWithSettings:(IMASettings *)settings adsRenderingSettings:(IMAAdsRenderingSettings *)adsRenderingSettings adsRequestPolicy:(BCOVIMAAdsRequestPolicy *)adsRequestPolicy adContainer:(UIView *)adContainer viewController:(UIViewController *)adContainerViewController companionSlots:(NSArray *)companionSlots viewStrategy:(BCOVPlaybackControllerViewStrategy)strategy
Parameters
settings |
An IMASettings that will be used to configure any IMAAdsLoader object used by the returned playback controller. |
---|---|
adsRenderingSettings |
An IMAAdsRenderingSettings that will be used to configure any IMAAdsManager object used by the returned playback controller. |
adsRequestPolicy |
BCOVIMAAdsRequestPolicy instance to generate IMAAdsRequests for use by a given input playback session. |
adContainer |
the view in which the ad will be displayed and the ad information UI will be rendered. |
adContainerViewController |
The view controller containing the ad container. If not provided here, must be set on the IMAAdDisplayContainer before making an ads or stream request. |
companionSlots |
the list of IMACompanionAdSlot instances. Can be nil or empty. |
strategy |
A view strategy that determines the view for the returned playback controller. |
Return Value
A new playback controller with the specified parameters.
Discussion
Creates and returns a new playback controller with the specified IMASettings object, IMAAdsRenderingSettings object, view strategy, and ad container. The returned playback controller will be configured with an IMA session provider.
Declared In
BCOVIMAComponent.h
– createIMAPlaybackControllerWithSettings:adsRenderingSettings:adsRequestPolicy:adContainer:viewController:companionSlots:viewStrategy:options:
Creates and returns a new playback controller with the specified IMASettings object, IMAAdsRenderingSettings object, view strategy, and ad container. The returned playback controller will be configured with an IMA session provider.
- (id<BCOVPlaybackController>)createIMAPlaybackControllerWithSettings:(IMASettings *)settings adsRenderingSettings:(IMAAdsRenderingSettings *)adsRenderingSettings adsRequestPolicy:(BCOVIMAAdsRequestPolicy *)adsRequestPolicy adContainer:(UIView *)adContainer viewController:(UIViewController *)adContainerViewController companionSlots:(NSArray *)companionSlots viewStrategy:(BCOVPlaybackControllerViewStrategy)strategy options:(NSDictionary *)options
Parameters
settings |
An IMASettings that will be used to configure any IMAAdsLoader object used by the returned playback controller. |
---|---|
adsRenderingSettings |
An IMAAdsRenderingSettings that will be used to configure any IMAAdsManager object used by the returned playback controller. |
adsRequestPolicy |
BCOVIMAAdsRequestPolicy instance to generate IMAAdsRequests for use by a given input playback session. |
adContainer |
the view in which the ad will be displayed and the ad information UI will be rendered. |
adContainerViewController |
The view controller containing the ad container. If not provided here, must be set on the IMAAdDisplayContainer before making an ads or stream request. |
companionSlots |
the list of IMACompanionAdSlot instances. Can be nil or empty. |
strategy |
A view strategy that determines the view for the returned playback controller. |
options |
An NSDictionary of IMA options. Can be nil or empty. The only valid option keys are kBCOVIMAOptionIMAPlaybackSessionDelegateKey See the “Device Ad Targeting” section of the IMA plugin README for more information. |
Return Value
A new playback controller with the specified parameters.
Discussion
Creates and returns a new playback controller with the specified IMASettings object, IMAAdsRenderingSettings object, view strategy, and ad container. The returned playback controller will be configured with an IMA session provider.
Declared In
BCOVIMAComponent.h
– createIMASessionProviderWithSettings:adsRenderingSettings:adsRequestPolicy:adContainer:viewController:companionSlots:upstreamSessionProvider:
Creates and returns a new BCOVIMASessionProvider with the specified parameters.
- (id<BCOVPlaybackSessionProvider>)createIMASessionProviderWithSettings:(IMASettings *)settings adsRenderingSettings:(IMAAdsRenderingSettings *)adsRenderingSettings adsRequestPolicy:(BCOVIMAAdsRequestPolicy *)adsRequestPolicy adContainer:(UIView *)adContainer viewController:(UIViewController *)adContainerViewController companionSlots:(NSArray *)companionSlots upstreamSessionProvider:(id<BCOVPlaybackSessionProvider>)provider
Parameters
settings |
An IMASettings that will be used to configure any IMAAdsLoader object used by the returned session provider. |
---|---|
adsRenderingSettings |
An IMAAdsRenderingSettings that will be used to configure any IMAAdsManager object used by the returned session provider. |
adsRequestPolicy |
BCOVIMAAdsRequestPolicy instance to generate IMAAdsRequests for use by a given input playback session. |
adContainer |
the view in which the ad will be displayed and the ad information UI will be rendered. |
adContainerViewController |
The view controller containing the ad container. If not provided here, must be set on the IMAAdDisplayContainer before making an ads or stream request. |
companionSlots |
the list of IMACompanionAdSlot instances. Can be nil or empty. |
provider |
A session provider to attach upstream and deliver playback sessions to the returned session provider. |
Return Value
A new BCOVIMASessionProvider with the specified parameters.
Discussion
Creates and returns a new BCOVIMASessionProvider with the specified parameters.
Declared In
BCOVIMAComponent.h
– createIMASessionProviderWithSettings:adsRenderingSettings:adsRequestPolicy:adContainer:viewController:companionSlots:upstreamSessionProvider:options:
Creates and returns a new BCOVIMASessionProvider with the specified parameters.
- (id<BCOVPlaybackSessionProvider>)createIMASessionProviderWithSettings:(IMASettings *)settings adsRenderingSettings:(IMAAdsRenderingSettings *)adsRenderingSettings adsRequestPolicy:(BCOVIMAAdsRequestPolicy *)adsRequestPolicy adContainer:(UIView *)adContainer viewController:(UIViewController *)adContainerViewController companionSlots:(NSArray *)companionSlots upstreamSessionProvider:(id<BCOVPlaybackSessionProvider>)provider options:(NSDictionary *)options
Parameters
settings |
An IMASettings that will be used to configure any IMAAdsLoader object used by the returned session provider. |
---|---|
adsRenderingSettings |
An IMAAdsRenderingSettings that will be used to configure any IMAAdsManager object used by the returned session provider. |
adsRequestPolicy |
BCOVIMAAdsRequestPolicy instance to generate IMAAdsRequests for use by a given input playback session. |
adContainer |
the view in which the ad will be displayed and the ad information UI will be rendered. |
adContainerViewController |
The view controller containing the ad container. If not provided here, must be set on the IMAAdDisplayContainer before making an ads or stream request. |
companionSlots |
the list of IMACompanionAdSlot instances. Can be nil or empty. |
provider |
A session provider to attach upstream and deliver playback sessions to the returned session provider. |
options |
An NSDictionary of IMA options. Can be nil or empty. The only valid option keys are kBCOVIMAOptionIMAPlaybackSessionDelegateKey See the “Device Ad Targeting” section of the IMA plugin README for more information. |
Return Value
A new BCOVIMASessionProvider with the specified parameters.
Discussion
Creates and returns a new BCOVIMASessionProvider with the specified parameters.
Declared In
BCOVIMAComponent.h