SCAdListener
@protocol SCAdListener <NSObject>
The listener protocol that needs to be implemented by your view controller
-
Called when the content video has finished
Declaration
Objective-C
- (void)contentVideoFinished;
-
Called when the content video fails for any reason
Declaration
Objective-C
- (void)contentVideoError:(NSError *)error;
-
Called on for every ScAdInfo type change
Declaration
Objective-C
- (void)onEventCallbackWithEvent:(SCAdEvent *)event;
-
Called when the AVPlayer actually starts video playback
Declaration
Objective-C
- (void)videoStartsPlaybackWith:(nonnull NSURL *)url;