AdCompanionOptions

class AdCompanionOptions(var extraExposureTime: Double = 0.0, var preferredResourceType: AdCompanionResourceType = AdCompanionResourceType.FIRST_RESOURCE_AVAILABLE, var optimizeCompanionDisplay: Boolean = true)

Constructors

Link copied to clipboard
constructor(extraExposureTime: Double = 0.0, preferredResourceType: AdCompanionResourceType = AdCompanionResourceType.FIRST_RESOURCE_AVAILABLE, optimizeCompanionDisplay: Boolean = true)

Properties

Link copied to clipboard

Set how long the sync-banner will be visible after the ad playout The default value is 0, which removes the banner as soon as the ad finishes.

Link copied to clipboard

Select the preferred type of companion. Possible values IMAGE, HTML, I_FRAME, FIRST_RESOURCE_AVAILABLE

Functions

Link copied to clipboard
open override fun toString(): String