SsaiAd
data class SsaiAd @JvmOverloads constructor(val id: String = UUID.randomUUID().toString(), val duration: Double = -1.0, val skippableAfter: Double? = null, val clickThroughUrl: String? = null, val metadata: SsaiMetadata = SsaiMetadata()) : LinearAd
Represents an ad stitched into the media stream by an SSAI provider.
Constructors
Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), duration: Double = -1.0, skippableAfter: Double? = null, clickThroughUrl: String? = null, metadata: SsaiMetadata = SsaiMetadata())
Properties
Link copied to clipboard
The url the user should be redirected to when clicking the ad.
Link copied to clipboard
The corresponding media file url for the ad.
Link copied to clipboard
Link copied to clipboard
Time in seconds, after which the ad is skippable. The ad is not skippable if this property is not set.
Link copied to clipboard
Holds relevant information for displaying the ad.