VideoMetadata class
Video metadata for a creative.
Constructors
-
VideoMetadata({String? duration, bool? isValidVast, bool? isVpaid, List<
MediaFile> ? mediaFiles, String? skipOffset, String? vastVersion}) - VideoMetadata.fromJson(Map json_)
Properties
- duration ↔ String?
-
The duration of the ad.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValidVast ↔ bool?
-
Is this a valid VAST ad? Can be used to filter the response of the
creatives.list method.
getter/setter pair
- isVpaid ↔ bool?
-
Is this a VPAID ad? Can be used to filter the response of the
creatives.list method.
getter/setter pair
-
mediaFiles
↔ List<
MediaFile> ? -
The list of all media files declared in the VAST.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipOffset ↔ String?
-
The minimum duration that the user has to watch before being able to skip
this ad.
getter/setter pair
- vastVersion ↔ String?
-
The maximum VAST version across all wrapped VAST documents.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited