8#import <Foundation/Foundation.h>
9#import <SCTVOSSDK/SCAdPlayerEvent.h>
11NS_ASSUME_NONNULL_BEGIN
15typedef void (^SCPublicAdSlotCompletionBlock)(
SCPublicAdSlot* _Nullable adInfo);
17typedef void (^SCAdErrorCompletionBlock)(
SCAdError* _Nullable adError);
19typedef void (^SCAdInfoCompletionBlock)(
SCAdInfo* _Nullable adInfo);
25- (void)playerEventCallbackWith:(SCAdPlayerEventType)playerEventType;
27- (void)getAdInfo:(SCAdInfoCompletionBlock _Nonnull )completion;
29- (void)getAdError:(SCAdErrorCompletionBlock _Nonnull )completion;
31- (void)getPublicAdSlot:(SCPublicAdSlotCompletionBlock _Nonnull )completion;
44- (void)contentVideoError:(NSError*)error;
Definition: SCAdError.h:16
Definition: SCAdInfo.h:16
Definition: SCPublicAdSlot.h:16
Use this protocol to inform the adSlotController about player related events.
Definition: SCPlayerEventListener.h:23
void loadAdFailure()
Inform the adSlotController about an unsuccessfull ad video load.
void stopAdSlot()
Request stopping the current ad slot (if you leave your viewController during ad playback for example...
void loadAdSuccess()
Inform the adSlotController about a successfull ad video load.
void resize()
Call when presentationSize of the player changes.
void contentVideoFinished()
Call when contentVideo has finished.