MediaAdEntity class

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

Annotations

Constructors

MediaAdEntity({String? name, required String adId, String? creativeId, int? podPosition, double? duration, bool? skippable})
const

Properties

adId String
Unique identifier for the ad
final
creativeId String?
The ID of the ad creative
final
duration double?
Length of the video ad in seconds
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Friendly name of the ad
final
podPosition int?
The position of the ad within the ad break, starting with 1 It is automatically assigned by the tracker based on the tracked ad break start and ad start events.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skippable bool?
Indicating whether skip controls are made available to the end user
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited