SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Instance Methods | List of all members
<SCAdFacadeDelegate> Protocol Reference

The SCAdFacadeDelegate protocol needs to be implemented by the video player implementation it receives its commands and delivers information through this protocol. More...

#import <SCAdFacadeDelegate.h>

Inheritance diagram for <SCAdFacadeDelegate>:

Instance Methods

(BOOL) - loadAdWithCaptions:disableSeeking:completion:
 if you want to support subtitles (captions), implement this optional function in addition to the normal loadAdWithUrlString function (see below)
 
(BOOL) - loadAdWithUrlString:disableSeeking:completion:
 The player should load the ad from this url and is told to disable/enable seeking.
 
(void) - start
 The player should start its playback.
 
(void) - pause
 The player should pause its playback.
 
(void) - resume
 The player should resume its playback.
 
(BOOL) - isPaused
 The player is being asked if it is paused.
 
(void) - mutePlayer
 The player should mute sound.
 
(void) - unmutePlayer
 The player should unmute sound.
 
(BOOL) - isMuted
 The player is being asked if it is muted.
 
(void) - seek:
 The player should seek from its current position to a time offset.
 
(double) - getCurrentTime
 The player must give back its current playback position.
 
(double) - getDuration
 The player must give back the duration of its current video.
 
(void) - setVolume:
 The player should set its volume to the desired value (unused at the moment)
 
(CGFloat) - getVolume
 The player should give back the current volume (currently unused)
 
(void) - lockContent
 The player should lock the current content source.
 
(SCContentSource *_Nullable) - getCurrentContentSource
 The player should give back its current content source.
 
(BOOL) - releaseContent
 The player should release its source to the content source (after an adSlot is finished)
 
(nullable NSString *) - getError
 Give back an error, if a playback error occured.
 

Detailed Description

The SCAdFacadeDelegate protocol needs to be implemented by the video player implementation it receives its commands and delivers information through this protocol.


The documentation for this protocol was generated from the following file: