Timing class

The timing object encapsulates information about the time during a video playback when a channel's watermark image will display.

Annotations
  • @JsonSerializable()

Constructors

Timing({required String type, required int offsetMs, required int durationMs})
Timing.fromJson(Map<String, dynamic> json)
factory

Properties

durationMs int
The length of time, in milliseconds, that the watermark image should display.
final
hashCode int
The hash code for this object.
no setterinherited
offsetMs int
The time offset, specified in milliseconds, that determines when the promoted item appears during video playbacks. The type property's value determines whether the offset is measured from the start or end of the video.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The timing method that determines when the watermark image is displayed during the video playback. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
final

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.
override

Operators

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