MediaInformation class

Media information class.

Constructors

MediaInformation(Map? _allProperties)
Creates a new MediaInformation instance

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllProperties() → Map?
Returns all properties found, including stream properties.
getBitrate() → String?
Returns bitrate.
getChapters() → List<Chapter>
Returns all chapters found as a list.
getDuration() → String?
Returns duration.
getFilename() → String?
Returns file name.
getFormat() → String?
Returns format.
getFormatProperties() → Map?
Returns all format properties found.
getFormatProperty(String key) → dynamic
Returns the format property associated with the key.
getLongFormat() → String?
Returns long format.
getNumberFormatProperty(String key) → num?
Returns the format property associated with the key.
getNumberProperty(String key) → num?
Returns the property associated with the key.
getProperty(String key) → dynamic
Returns the property associated with the key.
getSize() → String?
Returns size.
getStartTime() → String?
Returns start time.
getStreams() → List<StreamInformation>
Returns all streams found as a list.
getStringFormatProperty(String key) → String?
Returns the format property associated with the key.
getStringProperty(String key) → String?
Returns the property associated with the key.
getTags() → Map?
Returns all tags.
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

Constants

keyBitRate → const String
keyDuration → const String
keyFilename → const String
keyFormat → const String
keyFormatLong → const String
keyFormatProperties → const String
keySize → const String
keyStartTime → const String
keyTags → const String