Fragment class

Represents a segment of video or other time-delimited data.

Constructors

Fragment({int? fragmentLengthInMilliseconds, String? fragmentNumber, int? fragmentSizeInBytes, DateTime? producerTimestamp, DateTime? serverTimestamp})
Fragment.fromJson(Map<String, dynamic> json)
factory

Properties

fragmentLengthInMilliseconds int?
The playback duration or other time value associated with the fragment.
final
fragmentNumber String?
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
final
fragmentSizeInBytes int?
The total fragment size, including information about the fragment and contained media data.
final
hashCode int
The hash code for this object.
no setterinherited
producerTimestamp DateTime?
The timestamp from the producer corresponding to the fragment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverTimestamp DateTime?
The timestamp from the AWS server corresponding to the fragment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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