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);
23@protocol SCPlayerEventListener <NSObject>
25- (void)playerEventCallbackWith:(SCAdPlayerEventType)playerEventType;
27- (void)getAdInfo:(SCAdInfoCompletionBlock _Nonnull )completion;
29- (void)getAdError:(SCAdErrorCompletionBlock _Nonnull )completion;
31- (void)getPublicAdSlot:(SCPublicAdSlotCompletionBlock _Nonnull )completion;
42- (void)contentVideoFinished;
44- (void)contentVideoError:(NSError*)error;
Definition: SCAdError.h:16
Definition: SCAdInfo.h:16
Definition: SCPublicAdSlot.h:16