lib / tv.smartclip.smartclientandroid.lib.dto / SxTimeoutConfig

SxTimeoutConfig

data class SxTimeoutConfig

Contains all available timeouts.

Constructors

<init>

Contains all available timeouts.

SxTimeoutConfig(adRequest: Int = DEFAULT_AD_REQUEST_TIMEOUT, adRequestChain: Int = DEFAULT_AD_REQUEST_CHAIN_TIMEOUT, adSlotRequest: Int = DEFAULT_AD_SLOT_REQUEST_TIMEOUT, videoRequest: Int = DEFAULT_VIDEO_REQUEST_TIMEOUT, vpaidRequest: Int = DEFAULT_VPAID_REQUEST_TIMEOUT, vpaidReadiness: Int = DEFAULT_VPAID_READINESS_TIMEOUT, nonlinearMaxDuration: Int = DEFAULT_NON_LINEAR_MAX_DURATION, mediaConnect: Int = DEFAULT_EXO_CONNECT_TIMEOUT, mediaRead: Int = DEFAULT_EXO_READ_TIMEOUT)

Properties

adRequest

The number of seconds a single ad request can take to load before being terminated. `Default is 1 seconds.

val adRequest: Int

adRequestChain

The total number of seconds a single ad request chain (VAST Wrappers and final VAST Inline tag) can take to load before being terminated. Default is 2 seconds.

val adRequestChain: Int

adSlotRequest

The total number of seconds an ad-slot request (from calling initAdSlot until the Promise resolves or rejects) can take before being terminated. Default is 4 seconds.

val adSlotRequest: Int

mediaConnect

val mediaConnect: Int

mediaRead

val mediaRead: Int

nonlinearMaxDuration

The maximum time in seconds a NonLinear ad is displayed (from triggering the impression) before being terminated. Note: The timer becomes paused for the time a creative has entered the linear state. Default is 10 seconds.

val nonlinearMaxDuration: Int

videoRequest

Representing the number of seconds a video creative can take to load before being terminated. Default is 3 seconds.

val videoRequest: Int

vpaidReadiness

Representing the number of seconds a VPAID creative can take to initialize and respond (from calling VPAID.initAd() until the creative triggers the AdLoaded event) before being terminated. Default is 3 seconds.

val vpaidReadiness: Int

vpaidRequest

Representing the number of seconds a VPAID creative (JavaScript resource) can take to load before being terminated. Default is 1 seconds.

val vpaidRequest: Int