SCTVOSSDK
23.0.0
Smartclip Advertisement Framework for tvOS
xcframework
SCTVOSSDK.xcframework
tvos-arm64
SCTVOSSDK.framework
Headers
SCAdFacadeDelegate.h
1
//
2
// SCAdFacadeDelegate.h
3
// SCTVOSSDK
4
//
5
// Copyright © 2022 smartclip. All rights reserved.
6
//
7
#import <SCTVOSSDK/SCAdSlotController.h>
8
9
#ifndef SCAdFacadeDelegate_h
10
#define SCAdFacadeDelegate_h
11
12
@class
SCAdEvent
,
SCElementSize
,
SCAdEnvironment
,
SCContentSource
;
13
14
@protocol
SCAdFacadeDelegate
<NSObject>
15
16
- (BOOL)loadAdWithUrlString:(NSString* _Nonnull)urlString disableSeeking:(BOOL)disableSeeking completion:(nullable SCEmptyCompletionBlock)completion;
18
- (void)
start
;
20
- (void)
pause
;
22
- (void)
resume
;
24
- (BOOL)
isPaused
;
26
- (void)
mutePlayer
;
28
- (void)
unmutePlayer
;
30
- (BOOL)
isMuted
;
32
- (void)seek:(NSInteger)offset;
34
- (double)
getCurrentTime
;
36
- (double)
getDuration
;
38
- (void)setVolume:(CGFloat)volume;
40
- (CGFloat)
getVolume
;
42
- (void)
lockContent
;
44
- (
SCContentSource
*_Nullable)
getCurrentContentSource
;
46
- (BOOL)
releaseContent
;
48
- (nullable NSString*)
getError
;
49
50
@end
51
52
#endif
/* SCAdFacadeDelegate_h */
SCAdEnvironment
Definition:
SCAdEnvironment.h:18
SCAdEvent
Definition:
SCAdEvent.h:15
SCContentSource
Description of the contentVideo and its current playback offset.
Definition:
SCContentSource.h:14
SCElementSize
Definition:
SCElementSize.h:14
SCAdFacadeDelegate-p
Definition:
SCAdFacadeDelegate.h:14
-[SCAdFacadeDelegate-p isPaused]
BOOL isPaused()
The player is being asked if it is paused.
-[SCAdFacadeDelegate-p getVolume]
CGFloat getVolume()
The player should give back the current volume (currently unused)
-[SCAdFacadeDelegate-p mutePlayer]
void mutePlayer()
The player should mute sound.
-[SCAdFacadeDelegate-p getCurrentContentSource]
SCContentSource *_Nullable getCurrentContentSource()
The player should give back its current content source.
-[SCAdFacadeDelegate-p start]
void start()
The player should start its playback.
-[SCAdFacadeDelegate-p unmutePlayer]
void unmutePlayer()
The player should unmute sound.
-[SCAdFacadeDelegate-p lockContent]
void lockContent()
The player should lock the current content source.
-[SCAdFacadeDelegate-p getError]
nullable NSString * getError()
Give back an error, if a playback error occured.
-[SCAdFacadeDelegate-p getCurrentTime]
double getCurrentTime()
The player must give back its current playback position.
-[SCAdFacadeDelegate-p getDuration]
double getDuration()
The player must give back the duration of its current video.
-[SCAdFacadeDelegate-p isMuted]
BOOL isMuted()
The player is being asked if it is muted.
-[SCAdFacadeDelegate-p releaseContent]
BOOL releaseContent()
The player should release its source to the content source (after an adSlot is finished)
-[SCAdFacadeDelegate-p pause]
void pause()
The player should pause its playback.
-[SCAdFacadeDelegate-p resume]
void resume()
The player should resume its playback.
Generated by
1.9.4