MethodChannelMediaStore class

An implementation of MediaStorePlatform that uses method channels.

Inheritance

Constructors

MethodChannelMediaStore()

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

deleteFile({required String fileName, required DirType dirType, required DirName dirName, required String relativePath}) Future<bool>
override
deleteFileUsingUri({required String uriString}) Future<bool>
override
editFile({required String uriString, required dynamic tempFilePath}) Future<bool>
override
getDocumentTree({required String uriString}) Future<DocumentTree?>
override
getFilePathFromUri({required String uriString}) Future<String?>
override
getFileUri({required String fileName, required DirType dirType, required DirName dirName, required String relativePath}) Future<Uri?>
override
getPlatformSDKInt() Future<int>
override
getUriFromFilePath({required String path}) Future<Uri?>
override
isFileDeletable({required String uriString}) Future<bool>
override
isFileUriExist({required String uriString}) Future<bool>
override
isFileWritable({required String uriString}) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFile({required String tempFilePath, required String fileName, required DirType dirType, required DirName dirName, required String relativePath}) Future<bool>
override
readFileUsingUri({required String uriString, required dynamic tempFilePath}) Future<bool>
override
requestForAccess({required String? initialRelativePath}) Future<DocumentTree?>
override
saveFile({required String tempFilePath, required String fileName, required DirType dirType, required DirName dirName, required String relativePath}) Future<SaveInfo?>
override
toString() String
A string representation of this object.
inherited

Operators

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