SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Loading...
Searching...
No Matches
SCAdFacadeDelegate.h
1//
2// SCAdFacadeDelegate.h
3// SmartclipSDKiOS
4//
5// Copyright © 2018 smartclip. All rights reserved.
6//
7#import <AVKit/AVKit.h>
8#import <SmartclipSDKiOS/SCAdSlotController.h>
9#import <SmartclipSDKiOS/SCPlayerEventListener.h>
10
11#ifndef SCAdFacadeDelegate_h
12#define SCAdFacadeDelegate_h
13
15
17@protocol SCAdFacadeDelegate <NSObject>
18@optional
20- (BOOL)loadAdWithCaptions:(NSDictionary* _Nonnull)loadDict disableSeeking:(BOOL)disableSeeking completion:(nullable SCEmptyCompletionBlock)completion;
21
22@required
24- (BOOL)loadAdWithUrlString:(NSString* _Nonnull)urlString disableSeeking:(BOOL)disableSeeking completion:(nullable SCEmptyCompletionBlock)completion;
26- (void)start;
28- (void)pause;
30- (void)resume;
32- (BOOL)isPaused;
34- (void)mutePlayer;
36- (void)unmutePlayer;
38- (BOOL)isMuted;
40- (void)seek:(NSInteger)offset;
42- (double)getCurrentTime;
44- (double)getDuration;
46- (void)setVolume:(CGFloat)volume;
48- (CGFloat)getVolume;
50- (void)lockContent;
52- (SCContentSource *_Nullable)getCurrentContentSource;
54- (BOOL)releaseContent;
56- (nullable NSString*)getError;
57@end
58
59#endif /* SCAdFacadeDelegate_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
Description of the contentVideo and its current playback offset.
Definition: SCContentSource.h:14
Class that describes the size of the video player and its view mode.
Definition: SCElementSize.h:15