Directory

enum Directory : Enum<Directory>

Author

F43nd1r

Since

4.9.1

Entries

Link copied to clipboard

Root Directory, paths in this directory are absolute paths

Link copied to clipboard
Link copied to clipboard

Directory returned by Context.getNoBackupFilesDir. Will fall back to Context.getFilesDir on API < 21

Link copied to clipboard

Directory returned by Context.getExternalCacheDir

Link copied to clipboard

Directory returned by Context.getCacheDir

Link copied to clipboard

Directory returned by Context.getExternalFilesDir

Link copied to clipboard

Directory returned by Context.getFilesDir

Link copied to clipboard

Legacy behaviour: If the string starts with a path separator, this behaves like .ROOT. Otherwise it behaves like .FILES.

Functions

Link copied to clipboard
abstract fun getFile(context: Context, fileName: String): File

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int