SVSAdPlayerConfigurationPublisherOptions

@interface SVSAdPlayerConfigurationPublisherOptions : NSObject <NSCopying>

Hold the configuration options related to the publisher.

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

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Return Value

    The initialized SVSAdPlayerConfigurationPublisherOptions instance.

  • Indicates it the Skip Offset attribute from VAST ads should be ignored. If YES, the skipDelay property from this class will be used instead.

    Default: NO

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL forceSkipDelay;
  • Duration in seconds after which a linear ad can be skipped when forceSkipDelay is set to YES.

    Use -1 to make creatives not skippable. Use 0 to make creative skippable immediately. Use a positive value for actual delay.

    Default: -1

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval skipDelay;
  • YES if the AdManager should pause the content player at exact Ad break time even if Ad break data are not loaded yet. When NO, the AdManager will pause the content player only when the AdBreak is ready to be played.

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL pauseMainContentUntilVASTIsLoaded;
  • Total time allowed for an AdBreak request. If the total timeout is reached before any ad is displayed, the AdBreak is cancelled and the content player is resumed.

    Default: 7s

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval totalTimeout;
  • Time allowed for a single HTTP request. This timeout should always be smaller than totalTimeout.

    Default: 3s

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval requestTimeout;
  • Maximum wrapper redirection depth. This depth limitation is important to ensure that there will be no wrapper loop.

    Default: 5

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger maximumNumberOfRedirects;
  • Number of passback ads returned in by the Ad Server.

    Value of 0 will disable passback ads. A positive number will return a precise number of passback ads.

    Default value is -1, meaning the delivery engine will choose the best value for passback ads.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger numberOfPassbackAds;
  • YES if ads should be played again when the content video is rewinded.

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL replayAds;