![]() |
SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
|
Protocol that the video player uses to inform the listener about certain events. More...
#import <SCAdListener.h>
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) | |
Protocol that the video player uses to inform the listener about certain events.
|
required |