MediaInfo class

Media information & basic thumbnail creation methods.

Constructors

MediaInfo()
Initializes the plugin and starts listening for potential platform events.
factory
MediaInfo.private(MethodChannel _methodChannel)
This constructor is only used for testing and shouldn't be accessed by users of the plugin. It may break or change at any time.

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

generateThumbnail(String path, String target, int width, int height, {int positionMs = 0}) Future<String>
Generate a thumbnail for a video or image file.
getMediaInfo(String path) Future<Map<String, dynamic>>
Utilizes platform methods (which may include a combination of HW and SW decoders) to analyze the media file at a given path.
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