8#import <Foundation/Foundation.h>
10NS_ASSUME_NONNULL_BEGIN
14typedef void (^SCPublicAdSlotCompletionBlock)(
SCPublicAdSlot* _Nullable adInfo);
16typedef void (^SCAdErrorCompletionBlock)(
SCAdError* _Nullable adError);
18typedef void (^SCAdInfoCompletionBlock)(
SCAdInfo* _Nullable adInfo);
22@protocol SCPlayerEventListener <NSObject>
24- (void)playerEventCallbackWith:(SCAdPlayerEventType)playerEventType;
26- (void)getAdInfo:(SCAdInfoCompletionBlock _Nonnull )completion __deprecated_msg("This function must no longer be implemented by the listener");
28- (void)getAdError:(SCAdErrorCompletionBlock _Nonnull )completion __deprecated_msg("This function must no longer be implemented by the listener");
30- (void)getPublicAdSlot:(SCPublicAdSlotCompletionBlock _Nonnull )completion __deprecated_msg("This function must no longer be implemented by the listener");
32- (void)onClickThrough __deprecated_msg("This function must no longer be implemented by the listener");
36- (void)onBufferRefilled;
42- (void)stopAdSlot __deprecated_msg("This function must no longer be implemented by the listener");
48- (void)contentVideoFinished;
50- (void)contentVideoError:(NSError*)error;
This class holds public error information, if an adError was detected.
Definition: SCAdError.h:14
This class holds the advertisement information.
Definition: SCAdInfo.h:14
This class holds public progress information about the adSlot.
Definition: SCPublicAdSlot.h:15