CastBreak class
Represents a break (e.g. ad break) included in the main video.
Constructors
Properties
-
breakClipIds
→ List<
String> -
List of break clip IDs included in this break.
final
- duration → Duration?
-
Duration of break in seconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique ID of a break.
final
- isEmbedded → bool
-
Indicates whether the break is embedded in the main stream.
final
- isWatched → bool
-
Whether a break was watched. This is marked as
true when the break begins to play.
A sender can change color of a progress
bar marker corresponding to this break
once this field changes from false to
true denoting that the end-user
already watched this break.
final
- position → int
-
Location of the break inside the main video. -1 represents the end of the main video in seconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited