Delegate object that receives state change callbacks from IMAVideoDisplay.
More...
#import <IMAVideoDisplay.h>
Delegate object that receives state change callbacks from IMAVideoDisplay.
| - (void) videoDisplay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
| didBufferToMediaTime: |
|
(NSTimeInterval) |
mediaTime |
|
|
| |
|
optional |
Informs the SDK the video ad is buffered to |mediaTime| in seconds.
- Parameters
-
| videoDisplay | the IMAVideoDisplay whose buffer was updated |
| mediaTime | the time in seconds of ad media that has been buffered. |
| - (void) videoDisplay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
| didProgressWithMediaTime: |
|
(NSTimeInterval) |
mediaTime |
| totalTime: |
|
(NSTimeInterval) |
duration |
|
|
| |
Informs the SDK that the video ad progressed.
- Parameters
-
| videoDisplay | the IMAVideoDisplay that progressed |
| mediaTime | the current time of the ad being played |
| duration | the total duration of the ad being played |
| - (void) videoDisplay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
| didReceiveError: |
|
(NSError *) |
error |
|
|
| |
Informs the SDK the ad playback failed due to an error.
- Parameters
-
| videoDisplay | the IMAVideoDisplay that failed to play the ad |
| error | the error that caused the video display to fail to play the ad |
| - (void) videoDisplay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
| didReceiveTimedMetadata: |
|
(NSDictionary< NSString *, NSString * > *) |
metadata |
|
|
| |
Informs the SDK that timed metadata was received.
- Parameters
-
| videoDisplay | the IMAVideoDisplay that received the timed metadata event |
| metadata | the metadata dictionary received with the timed metadata event |
| - (void) videoDisplay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
| volumeChangedTo: |
|
(NSNumber *) |
volume |
|
|
| |
Informs the SDK that the ad volume was changed.
- Parameters
-
| videoDisplay | the IMAVideoDisplay that changed the ad volume |
| volume | the new volume of the ad being played |
| - (void) videoDisplayDidClick: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad was clicked.
- Parameters
-
| - (void) videoDisplayDidComplete: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad has completed playback.
- Parameters
-
| - (void) videoDisplayDidLoad: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK that the ad has loaded.
- Parameters
-
| - (void) videoDisplayDidPause: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad has paused.
- Parameters
-
| - (void) videoDisplayDidPlay: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad has started playback.
- Parameters
-
| - (void) videoDisplayDidResume: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad has resumed playback.
- Parameters
-
| - (void) videoDisplayDidShowSkip: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad skip button appeared.
- Parameters
-
| - (void) videoDisplayDidSkip: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad was skipped.
- Parameters
-
| - (void) videoDisplayDidStart: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
Informs the SDK the ad has started playback.
- Parameters
-
| - (void) videoDisplayDidStartBuffering: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
|
optional |
Informs the SDK the ad's media buffer is empty and playback will stall.
- Parameters
-
| - (void) videoDisplayIsPlaybackReady: |
|
(id< IMAVideoDisplay >) |
videoDisplay |
|
|
optional |
Informs the SDK the ad is buffered and playback is likely to keep up.
- Parameters
-
The documentation for this protocol was generated from the following file: