Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Objective-C
@protocol SCAdViewDelegate <NSObject> @required - (void)onSkipAd; - (void)onClickThrough; - (void)toggleMute; - (void)replayAdvertisement; @end
-
The SCAdFacadeDelegate protocol needs to be implemented by the video player implementation it receives it´s commands and delivers information through this protocol
See moreDeclaration
Objective-C
@protocol SCAdFacadeDelegate <NSObject>
-
Protocol that the video player uses to inform the listener about certain events.
See moreDeclaration
Objective-C
@protocol SCAdListener <NSObject>
-
Protocol that you implement in your view controller to get informed about SCAdSequencer events
See moreDeclaration
Objective-C
@protocol SCAdSequencerDelegate <NSObject>
-
The SCAdSessionStateListener is a protocol that is being informed of the overall state of the sdk, before SessionStateRead is is reached, the sdk can´t be used
See moreDeclaration
Objective-C
@protocol SCAdSessionStateListener <NSObject>
-
Undocumented
See moreDeclaration
Objective-C
@protocol SCOmidEventLoggingDelegate <NSObject> - (void)logEventString:(nullable NSString*)eventString; @end
-
Undocumented
See moreDeclaration
Objective-C
@protocol SCPlayerEventListener <NSObject> - (void)playerEventCallbackWith:(SCAdPlayerEventType)playerEventType; - (void)getAdInfo:(SCAdInfoCompletionBlock _Nonnull )completion; - (void)getAdError:(SCAdErrorCompletionBlock _Nonnull )completion; - (void)getPublicAdSlot:(SCPublicAdSlotCompletionBlock _Nonnull )completion; - (void)onClickThrough; - (void)onBufferEmpty; - (void)onBufferRefilled; - (void)loadAdSuccess; - (void)loadAdFailure; - (void)stopAdSlot; @end