MethodChannelMediaExtension class

An implementation of MediaExtensionPlatform that uses method channels.

Inheritance

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

edit(String uri, String mimeType, {String title = 'Edit'}) Future<bool>
This Method sends the selected Image's uri to the native thread. from the Flutter thread to send results to apps which can handle ACTION_EDIT Intent of mimeType images/*.
override
getIntentAction() Future<MediaExtentionAction>
This Method is triggered by the Native Thread which sends the intentAction and uri information in a HashMap Structure to the Flutter thread.
override
getPlatformVersion() Future<String?>
This Method retrivies the platform version from native thread.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openWith(String uri, String mimeType, {String title = 'Open With'}) Future<bool>
This Method sends the selected Image's uri to the native thread. from the Flutter thread to send results to apps which can handle ACTION_VIEW Intent of mimeType images/*.
override
setAs(String uri, String mimeType, {String title = 'Set as'}) Future<bool>
This Method sends the selected Image's uri to the native thread. from the Flutter thread to send results to apps which can handle ACTION_ATTACH_DATA Intent of mimeType images/*.
override
setResult(String uri) Future<void>
This Method sends the selected Image's uri to the native thread. from the Flutter thread to send results to the app which invoked our app using ACTION_PICK INTENT.
override
toString() String
A string representation of this object.
inherited

Operators

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