DocumentAttributeVideo class

Document Attribute Video.

ID: 43c57c48.

Inheritance

Constructors

DocumentAttributeVideo({required bool roundMessage, required bool supportsStreaming, required bool nosound, required double duration, required int w, required int h, int? preloadPrefixSize, double? videoStartTs, String? videoCodec})
Document Attribute Video constructor.
const
DocumentAttributeVideo.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

duration → double
Duration.
final
flags → int
Flags.
no setter
h → int
H.
final
hashCode → int
The hash code for this object.
no setterinherited
nosound → bool
nosound: bit 3 of flags.3?true
final
preloadPrefixSize → int?
Preload Prefix Size.
final
roundMessage → bool
round_message: bit 0 of flags.0?true
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsStreaming → bool
supports_streaming: bit 1 of flags.1?true
final
videoCodec → String?
Video Codec.
final
videoStartTs → double?
Video Start Ts.
final
w → int
W.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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