20- (void)contentVideoError:(NSError* _Nonnull )error;
26- (void)presentationSizeChangedTo:(CGSize)newSize;
29- (nullable
SCAdEnvironment *)getEnvironmentVarsWith:(NSString* _Nonnull)adBreakType;
34- (void)onEventCallback:(
SCAdEvent *_Nonnull )event;
40- (void)visibilityChanged:(BOOL)visible;
This class is used to specify certain environment variables like desired bitrate, deviceType and scre...
Definition: SCAdEnvironment.h:17
This class forms a wrapper around player events.
Definition: SCAdEvent.h:13
Class that describes the size of the video player and its view mode.
Definition: SCElementSize.h:15
Protocol that the video player uses to inform the listener about certain events.
Definition: SCAdListener.h:13
nullable SCElementSize * getViewportSize()
Give back the frame of the viewPort and the viewMode (normal or fullscreen)
void displayClickThroughAlert()
if you use customizableClickThroughAlert, add this function
void contentVideoFinished()
Called when the content video has finished.
nullable SCElementSize * getPlayerSize()
Give back the current player frame and viewMode (normal or fullscreen)