YMAVideoDelegate
Objective-C
@protocol YMAVideoDelegate <NSObject>
Swift
protocol YMAVideoDelegate : NSObjectProtocol
The protocol defines the delegate methods that track the activity of video content in an ad. Methods are called by an object of the YMAVideoController
class when its state changes.
Notifies that video content has finished playing.
Declaration
Objective-C
- (void)videoControllerDidFinishPlayingVideo:
(nonnull YMAVideoController *)videoController;
Swift
optional func videoControllerDidFinishPlayingVideo(_ videoController: YMAVideoController)
Parameters
videoController | An object of the |
videoController | An object of the |