SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Loading...
Searching...
No Matches
Instance Methods | List of all members
<SCAdListener> Protocol Reference

Protocol that the video player uses to inform the listener about certain events. More...

#import <SCAdListener.h>

Inheritance diagram for <SCAdListener>:

Instance Methods

(void) - contentVideoFinished
 Called when the content video has finished.
 
(void) - contentVideoError:
 Called when the content video fails for any reason.
 
(void) - displayClickThroughAlert
 if you use customizableClickThroughAlert, add this function
 
(void) - presentationSizeChangedTo:
 The player detected a change of the presentationSize of the current AVPlayerItem.
 
(nullable SCAdEnvironment *) - getEnvironmentVarsWith:
 Return your environmentVars object (only needed for VMAP implementations)
 
(void) - onEventCallback:
 
(void) - displayClickThroughAlert:
 Click through happened, pass it on to the view controller.
 
(void) - visibilityChanged:
 Visibility of the adView changed, so pause or resume the player.
 
(nullable SCElementSize *) - getPlayerSize
 Give back the current player frame and viewMode (normal or fullscreen)
 
(nullable SCElementSize *) - getViewportSize
 Give back the frame of the viewPort and the viewMode (normal or fullscreen)
 

Detailed Description

Protocol that the video player uses to inform the listener about certain events.

Method Documentation

◆ onEventCallback:

- (void) onEventCallback: (SCAdEvent *_Nonnull)  event
required

Called on for every SCAdEvent type change


The documentation for this protocol was generated from the following file: