SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Loading...
Searching...
No Matches
SCAdListener.h
1//
2// SCAdListener.h
3// SmartclipSDKiOS
4//
5// Copyright © 2019 smartclip. All rights reserved.
6//
7#ifndef SCAdListener_h
8#define SCAdListener_h
9
11
13@protocol SCAdListener <NSObject>
14@optional
15
17- (void)contentVideoFinished;
18
20- (void)contentVideoError:(NSError* _Nonnull )error;
21
23- (void)displayClickThroughAlert;
24
26- (void)presentationSizeChangedTo:(CGSize)newSize;
27
29- (nullable SCAdEnvironment *)getEnvironmentVarsWith:(NSString* _Nonnull)adBreakType;
30@required
31
34- (void)onEventCallback:(SCAdEvent *_Nonnull )event;
35
37- (void)displayClickThroughAlert:(UIAlertController* _Nonnull )alert;
38
40- (void)visibilityChanged:(BOOL)visible;
41
43- (nullable SCElementSize*)getPlayerSize;
44
46- (nullable SCElementSize*)getViewportSize;
47@end
48
49#endif /* SCAdListener_h */
This class is used to specify certain environment variables like desired bitrate, deviceType and scre...
Definition: SCAdEnvironment.h:17
This class forms a wrapper around player events.
Definition: SCAdEvent.h:13
Class that describes the size of the video player and its view mode.
Definition: SCElementSize.h:15