SVSAdPlayerConfigurationDisplayOptions
Objective-C
@interface SVSAdPlayerConfigurationDisplayOptions : NSObject <NSCopying>
Swift
class SVSAdPlayerConfigurationDisplayOptions : NSObject, NSCopying
Represents the ad player display configuration.
-
Initialize a new instance of SVSAdPlayerConfigurationDisplay with the default configuration.
Declaration
Objective-C
- (nonnull instancetype)init;
Swift
init()
Return Value
The initialized SVSAdPlayerConfigurationDisplay instance.
-
YES to show the ad player fullscreen button, NO to hide it.
Note
If your content player is already fullscreen, you should set it to NO.Default: YES.
Declaration
Objective-C
@property (nonatomic) BOOL enableFullscreen;
Swift
var enableFullscreen: Bool { get set }
-
YES to display a countdown until the end of the Ad break.
Default: YES.
Declaration
Objective-C
@property (nonatomic) BOOL enableCountdownVideo;
Swift
var enableCountdownVideo: Bool { get set }
-
YES to display a countdown before the Ad can be skipped.
Note
This has no effect if the Ad is not skippable.Default: YES.
Declaration
Objective-C
@property (nonatomic) BOOL enableCountdownSkip;
Swift
var enableCountdownSkip: Bool { get set }