SASNativeVideoAd

Objective-C

@interface SASNativeVideoAd : SASAd

Swift

class SASNativeVideoAd : SASAd

A SASNativeVideoAd object represents a native video ad programmed in the ad server.

  • YES if the video ad should autoplay as soon as it is viewable, NO otherwise.

    Declaration

    Objective-C

    @property (readonly) BOOL autoplay;

    Swift

    var autoplay: Bool { get }
  • The URL of the image that will be used as poster image for the video ad if any, nil otherwise.

    Declaration

    Objective-C

    @property (strong, readonly, nullable) NSURL *posterImageUrl;

    Swift

    var posterImageUrl: URL? { get }
  • The URL of the image that will be used as background image in interstitial views during ad playback if any, nil otherwise.

    Declaration

    Objective-C

    @property (strong, readonly, nullable) NSURL *backgroundImageURL;

    Swift

    var backgroundImageURL: URL? { get }