A callback protocol for IMAAdsManager.
More...
#import <IMAAdsManager.h>
A callback protocol for IMAAdsManager.
- (void) adsManager: |
|
(IMAAdsManager *) |
adsManager |
adDidBufferToMediaTime: |
|
(NSTimeInterval) |
mediaTime |
|
|
| |
|
optional |
Called as the current ad media buffers.
- Parameters
-
adsManager | the IMAAdsManager tracking the ad's media buffer |
mediaTime | the current buffered media time in seconds |
- (void) adsManager: |
|
(IMAAdsManager *) |
adsManager |
adDidProgressToTime: |
|
(NSTimeInterval) |
mediaTime |
totalTime: |
|
(NSTimeInterval) |
totalTime |
|
|
| |
|
optional |
Called every 200ms to provide time updates for the current ad.
- Parameters
-
adsManager | the IMAAdsManager tracking ad playback |
mediaTime | the current media time in seconds |
totalTime | the total media length in seconds |
Called when there was an error playing the ad.
Log the error and resume playing content.
- Parameters
-
Reimplemented in OOIMAManager.
- (void) adsManagerAdDidStartBuffering: |
|
(IMAAdsManager *) |
adsManager |
|
|
optional |
Called when the current ad media buffer is empty and playback did stall.
- Parameters
-
Called when the current ad is sufficiently buffered and playback is likely to keep up.
- Parameters
-
- (void) adsManagerDidRequestContentPause: |
|
(IMAAdsManager *) |
adsManager |
|
Called when an ad is ready to play.
The implementing code should pause the content playback and prepare the UI for ad playback.
- Parameters
-
Reimplemented in OOIMAManager.
- (void) adsManagerDidRequestContentResume: |
|
(IMAAdsManager *) |
adsManager |
|
Called when an ad has finished or an error occurred during the playback.
The implementing code should resume the content playback.
- Parameters
-
Reimplemented in OOIMAManager.
The documentation for this protocol was generated from the following file: