MediaAdBreakEntity

data class MediaAdBreakEntity @JvmOverloads constructor(var breakId: String, var name: String? = null, var breakType: MediaAdBreakType? = null, var podSize: Int? = null)

Properties for the ad break context entity attached to media events during ad break playback. Entity schema: iglu:com.snowplowanalytics.snowplow.media/ad_break/jsonschema/1-0-0.

Parameters

breakId

An identifier for the ad break.

name

Ad break name (e.g., pre-roll, mid-roll, and post-roll).

breakType

Type of ads within the break.

podSize

The number of ads to be played within the ad break.

Constructors

Link copied to clipboard
constructor(breakId: String, name: String? = null, breakType: MediaAdBreakType? = null, podSize: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
var podSize: Int?
Link copied to clipboard

Playback time in seconds at the start of the ad break. Set automatically from the player entity.