MethodChannelVolumeInfo class
An implementation of VolumeInfoPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- VolumeInfoPlatform
- MethodChannelVolumeInfo
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
- progressChannel → EventChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyFile(
String srcFile, String dstFile, {int bufferSize = 1024}) → Future< bool> -
override
-
getAndroidVersion(
) → Future< int?> -
override
-
getVolumeAbsolutePath(
String uuid) → Future< String?> -
override
-
getVolumeAbsolutePathPrimary(
) → Future< String?> -
override
-
getVolumeFiles(
String uuid) → Future< List< FileInfo> ?> -
override
-
getVolumeFilesPrimary(
) → Future< List< FileInfo> ?> -
override
-
getVolumeInfo(
String uuid) → Future< VolumeSpaceInfo?> -
override
-
getVolumeSpace(
String uuid) → Future< VolumeSpace?> -
override
-
getVolumeSpacePrimary(
) → Future< VolumeSpace?> -
override
-
getVolumeState(
String uuid) → Future< String?> -
override
-
getVolumesUUIDs(
bool includePrimary, bool includeRemoveable) → Future< List< String> ?> -
override
-
getVolumeUUIDPrimary(
) → Future< String?> -
override
-
isRemoveable(
String uuid) → Future< bool?> -
override
-
isVolumeAvailable(
String uuid) → Future< bool?> -
override
-
isVolumePrimary(
String uuid) → Future< bool?> -
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