PathProviderAndroid class
The Android implementation of PathProviderPlatform
.
- Inheritance
-
- Object
- PlatformInterface
- PathProviderPlatform
- PathProviderAndroid
Constructors
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
-
getApplicationCachePath(
) → Future< String?> -
Path to a directory where application specific cache data can be stored.
override
-
getApplicationDocumentsPath(
) → Future< String?> -
Path to a directory where the application may place data that is
user-generated, or that cannot otherwise be recreated by your application.
override
-
getApplicationSupportPath(
) → Future< String?> -
Path to a directory where the application may place application support
files.
override
-
getDownloadsPath(
) → Future< String?> -
Path to the directory where downloaded files can be stored.
This is typically only relevant on desktop operating systems.
override
-
getExternalCachePaths(
) → Future< List< String> ?> -
Paths to directories where application specific external cache data can be
stored. These paths typically reside on external storage like separate
partitions or SD cards. Phones may have multiple storage directories
available.
override
-
getExternalStoragePath(
) → Future< String?> -
Path to a directory where the application may access top level storage.
The current operating system should be determined before issuing this
function call, as this functionality is only available on Android.
override
-
getExternalStoragePaths(
{StorageDirectory? type}) → Future< List< String> ?> -
Paths to directories where application specific data can be stored.
These paths typically reside on external storage like separate partitions
or SD cards. Phones may have multiple storage directories available.
override
-
getLibraryPath(
) → Future< String?> -
Path to the directory where application can store files that are persistent,
backed up, and not visible to the user, such as sqlite.db.
override
-
getTemporaryPath(
) → Future< String?> -
Path to the temporary directory on the device that is not backed up and is
suitable for storing caches of downloaded files.
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
Static Methods
-
registerWith(
) → void -
Registers this class as the default instance of
PathProviderPlatform
.