BCOVPlaybackControllerAdsDelegate Protocol Reference

Conforms to NSObject
Declared in BCOVAdvertising.h

Overview

Conform to this protocol to receive basic ad information for each session.

– playbackController:playbackSession:didEnterAdSequence:

Called when playback enters a new ad sequence within a playback session.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didEnterAdSequence:(BCOVAdSequence *)adSequence

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

adSequence

The ad sequence being entered.

Discussion

Called when playback enters a new ad sequence within a playback session.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:didExitAdSequence:

Called when playback exits an ad sequence within a playback session.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didExitAdSequence:(BCOVAdSequence *)adSequence

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

adSequence

The ad sequence being exited.

Discussion

Called when playback exits an ad sequence within a playback session.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:didEnterAd:

Called when playback enters a new ad within a playback session.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didEnterAd:(BCOVAd *)ad

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

ad

The ad being entered.

Discussion

Called when playback enters a new ad within a playback session.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:didExitAd:

Called when playback exits an ad within a playback session.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didExitAd:(BCOVAd *)ad

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

ad

The ad being exited.

Discussion

Called when playback exits an ad within a playback session.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:ad:didProgressTo:

Called with the playback session’s ad playback progress.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session ad:(BCOVAd *)ad didProgressTo:(NSTimeInterval)progress

Parameters

controller

The playback controller in which an add is progressing.

session

The playback session within which the ad transition occurred.

ad

The ad that is progressing.

progress

The progress time of the ad.

Discussion

Called with the playback session’s ad playback progress.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:didPauseAd:

Called when an ad paused.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didPauseAd:(BCOVAd *)ad

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

ad

The ad being paused.

Discussion

Called when an ad paused.

Declared In

BCOVAdvertising.h

– playbackController:playbackSession:didResumeAd:

Called when an ad resumed.

- (void)playbackController:(id<BCOVPlaybackController>)controller playbackSession:(id<BCOVPlaybackSession>)session didResumeAd:(BCOVAd *)ad

Parameters

controller

The playback controller in which this transition occurred.

session

The playback session within which the ad transition occurred.

ad

The ad being resumed.

Discussion

Called when an ad resumed.

Declared In

BCOVAdvertising.h