BCOVPlaybackSessionAdsConsumer Protocol Reference

Conforms to NSObject
Declared in BCOVAdvertising.h

Overview

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

– playbackSession:didEnterAdSequence:

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

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

Parameters

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

– playbackSession:didExitAdSequence:

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

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

Parameters

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

– playbackSession:didEnterAd:

Called when playback exists an ad within a playback session.

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

Parameters

session

The playback session within which the ad transition occurred.

ad

The ad being entered.

Discussion

Called when playback exists an ad within a playback session.

Declared In

BCOVAdvertising.h

– playbackSession:didExitAd:

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

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

Parameters

session

The playback session within which the ad transition occurred.

ad

The ad being exited.

Discussion

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

Declared In

BCOVAdvertising.h

– playbackSession:ad:didProgressTo:

Called with the playback session’s ad playback progress.

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

Parameters

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

– playbackSession:didPauseAd:

Called when an ad paused.

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

Parameters

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

– playbackSession:didResumeAd:

Called when an ad resumed.

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

Parameters

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