StorageDirectory enum

Corresponds to constants defined in Androids android.os.Environment class.

https://developer.android.com/reference/android/os/Environment.html#fields_1

Inheritance
Available extensions

Values

music → const StorageDirectory

Contains audio files that should be treated as music.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_MUSIC.

podcasts → const StorageDirectory

Contains audio files that should be treated as podcasts.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_PODCASTS.

ringtones → const StorageDirectory

Contains audio files that should be treated as ringtones.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_RINGTONES.

alarms → const StorageDirectory

Contains audio files that should be treated as alarm sounds.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_ALARMS.

notifications → const StorageDirectory

Contains audio files that should be treated as notification sounds.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_NOTIFICATIONS.

pictures → const StorageDirectory

Contains images. See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_PICTURES.

movies → const StorageDirectory

Contains movies. See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_MOVIES.

downloads → const StorageDirectory

Contains files of any type that have been downloaded by the user.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_DOWNLOADS.

dcim → const StorageDirectory

Used to hold both pictures and videos when the device filesystem is treated like a camera's.

See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_DCIM.

documents → const StorageDirectory

Holds user-created documents. See https://developer.android.com/reference/android/os/Environment.html#DIRECTORY_DOCUMENTS.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<StorageDirectory>
A constant List of the values in this enum, in order of their declaration.