StorageDirectory enum Null safety

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

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

Implemented types

Constants

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.

const StorageDirectory(3)
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.

const StorageDirectory(8)
documents → const StorageDirectory

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

const StorageDirectory(9)
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.

const StorageDirectory(7)
movies → const StorageDirectory

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

const StorageDirectory(6)
music → const StorageDirectory

Contains audio files that should be treated as music.

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

const StorageDirectory(0)
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.

const StorageDirectory(4)
pictures → const StorageDirectory

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

const StorageDirectory(5)
podcasts → const StorageDirectory

Contains audio files that should be treated as podcasts.

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

const StorageDirectory(1)
ringtones → const StorageDirectory

Contains audio files that should be treated as ringtones.

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

const StorageDirectory(2)
values → const List<StorageDirectory>

A constant List of the values in this enum, in order of their declaration.

const List<StorageDirectory>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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