SVSAdPlayerConfigurationVPAIDOptions

Objective-C

@interface SVSAdPlayerConfigurationVPAIDOptions : NSObject <NSCopying, NSCoding>

Swift

class SVSAdPlayerConfigurationVPAIDOptions : NSObject, NSCopying, NSCoding

Hold the configuration options related to VPAID.

Initialization

  • Initialize a new instance of SVSAdPlayerConfigurationVPAIDOptions with the default configuration.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    The initialized SVSAdPlayerConfigurationVPAIDOptions instance.

Configuration properties

  • YES to show the countdown before the end of the linear break, NO to hide.

    Note

    This might interfere with the creative’s controls and degrade the user experience.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL enableCountdownVideo;

    Swift

    var enableCountdownVideo: Bool { get set }
  • YES to show a skip button over VPAID ads, NO to hide.

    Note

    This might interfere with the creative’s controls and degrade the user experience.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL enableSkip;

    Swift

    var enableSkip: Bool { get set }