MediaInfo class

This type is used by AvMediaPlayer, for showing current media info. If duration is 0, it means the media is a realtime stream tracks contains all the tracks of the media. The key is the track id. However, video tracks may not available on ios/macos/windows.

Constructors

MediaInfo(int duration, Map<String, TrackInfo> tracks, String source)
const

Properties

duration int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
final
tracks Map<String, TrackInfo>
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