SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Instance Methods | List of all members
<SCPlayerEventListener> Protocol Reference

Use this protocol to inform the adSlotController about player related events. More...

#import <SCPlayerEventListener.h>

Inheritance diagram for <SCPlayerEventListener>:
SCAdSlotController

Instance Methods

(void) - playerEventCallbackWith:
 Inform adSlotController about the player state. More...
 
(void) - getAdInfo:
 Get the current adInfo object.
 
(void) - getAdError:
 Get the last adError object.
 
(void) - getPublicAdSlot:
 Get the publicAdSlot object.
 
(void) - onClickThrough
 Inform the adSlotController about a clickThrough. More...
 
(void) - onBufferEmpty
 Inform the adSlotController about an empty player buffer (needed for OMID) More...
 
(void) - onBufferRefilled
 Inform the adSlotController about a refilled player buffer (needed for OMID) More...
 
(void) - loadAdSuccess
 Inform the adSlotController about a successfull ad video load. More...
 
(void) - loadAdFailure
 Inform the adSlotController about an unsuccessfull ad video load. More...
 
(void) - stopAdSlot
 Request stopping the current ad slot (if you leave your viewController during ad playback for example) More...
 
(void) - resize
 Call when presentationSize of the player changes. More...
 
(void) - contentVideoFinished
 Call when contentVideo has finished.
 
(void) - contentVideoError:
 Call when contentVideo has an error.
 

Detailed Description

Use this protocol to inform the adSlotController about player related events.

Method Documentation

◆ loadAdFailure

- (void) loadAdFailure

Inform the adSlotController about an unsuccessfull ad video load.

Reimplemented in SCAdSlotController.

◆ loadAdSuccess

- (void) loadAdSuccess

Inform the adSlotController about a successfull ad video load.

Reimplemented in SCAdSlotController.

◆ onBufferEmpty

- (void) onBufferEmpty

Inform the adSlotController about an empty player buffer (needed for OMID)

Reimplemented in SCAdSlotController.

◆ onBufferRefilled

- (void) onBufferRefilled

Inform the adSlotController about a refilled player buffer (needed for OMID)

Reimplemented in SCAdSlotController.

◆ onClickThrough

- (void) onClickThrough

Inform the adSlotController about a clickThrough.

Reimplemented in SCAdSlotController.

◆ playerEventCallbackWith:

- (void) playerEventCallbackWith: (SCAdPlayerEventType)  playerEventType

Inform adSlotController about the player state.

Reimplemented in SCAdSlotController.

◆ resize

- (void) resize

Call when presentationSize of the player changes.

Reimplemented in SCAdSlotController.

◆ stopAdSlot

- (void) stopAdSlot

Request stopping the current ad slot (if you leave your viewController during ad playback for example)

Reimplemented in SCAdSlotController.


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