SCAdSequencerDelegate
@protocol SCAdSequencerDelegate <NSObject>
                Protocol that you implement in your view controller to get informed about SCAdSequencer events
- 
                  
                  
The Sequencer calls this function when the contentVideo should be played
Declaration
Objective-C
- (void)playContentVideoWith:(nonnull NSString *)urlString; - 
                  
                  
The sequencer tells you to pause the content video
Declaration
Objective-C
- (void)pauseContentVideo; - 
                  
                  
The sequencer tells you to resume the content video
Declaration
Objective-C
- (void)resumeContentVideo; - 
                  
                  
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:(nonnull NSError *)error; - 
                  
                  
Called on for every ScAdInfo type change
Declaration
Objective-C
- (void)onEventCallbackWithEvent:(nonnull SCAdEvent *)event; - 
                  
                  
Called when sequencer has finished its playback sequence
Declaration
Objective-C
- (void)sequencerFinished; - 
                  
                  
Called when the click through alert should be displayed
Declaration
Objective-C
- (void)displayClickThroughAlert:(nonnull UIAlertController *)alert; - 
                  
                  
Called when the AVPlayer actually starts video playback
Declaration
Objective-C
- (void)adStartsPlaybackWith:(nonnull NSURL *)url; - 
                  
                  
Called when the presentationSize of the AVItem changed
Declaration
Objective-C
- (void)presentationSizeChangedTo:(CGSize)newSize; 
        SCAdSequencerDelegate Protocol Reference