SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
Instance Methods | List of all members
<SCAdListener> Protocol Reference
Inheritance diagram for <SCAdListener>:

Instance Methods

(void) - contentVideoFinished
 
(void) - contentVideoError:
 
(void) - onEventCallback:
 
(nullable SCElementSize *) - getPlayerSize
 
(nullable SCElementSize *) - getViewportSize
 

Method Documentation

◆ contentVideoError:

- (void) contentVideoError: (nonnull NSError *)  error
optional

Called when the content video fails for any reason

◆ contentVideoFinished

- (void) contentVideoFinished
optional

Called when the content video has finished

◆ getPlayerSize

- (nullable SCElementSize *) getPlayerSize
required

Returns the rect of the avplayer layer and if it is displayed fullscreen or not

◆ getViewportSize

- (nullable SCElementSize *) getViewportSize
required

Returns the rect of the viewport and if the player is displayed fullscreen or not

◆ onEventCallback:

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

Called on for every ScAdInfo type change

  • Parameter adInfo: current ScAdInfo

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