MethodChannelDeviceMediaFinder class
An implementation of DeviceMediaFinderPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DeviceMediaFinderPlatform
- MethodChannelDeviceMediaFinder
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAudios(
) → Future< List< AudioFile> > -
Get a list of audio files from the device
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getVideos(
) → Future< List< VideoFile> > -
Get a list of videos from the device
override
-
getVideosByMimeType(
List< String> mimeTypes) → Future<List< VideoFile> > -
Get a list of videos from the device filtered by MIME types
override
-
getVideoThumbnail(
String videoId, {int width = 128, int height = 128}) → Future< Uint8List?> -
Get a thumbnail for a video
override
-
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