text storage(type, path)
Returns the directory of type on external storage with the path appended.
If the path is absolute (start with a /) it will be returned instead of the storage directory.
Note! The returned directory may not exist, always use the File make directory block to create it first.
| Type | Description |
|---|---|
| "cache" | Cache directory for temporary storage on primary external storage |
| "primary" | Root directory of primary external storage |
| "sdcard" | |
| "internal" | Directory unique to the flow on primary external storage unique, may be lost when uninstalled |
| "external" | Directory unique to Automate on primary external storage, may be lost when uninstalled |
| "alarms" | Standard directory in which to place any audio files that should be in the list of alarms |
| "dcim" | Traditional location for pictures and videos when mounting the device as a camera |
| "documents" | Standard directory in which to place documents that have been created by the user |
| "downloads" | Standard directory in which to place files that have been downloaded by the user |
| "movies" | Standard directory in which to place movies that are available to the user |
| "notification" | Standard directory in which to place any audio files that should be in the list of notifications |
| "pictures" | Standard directory in which to place pictures that are available to the user |
| "podcasts" | Standard directory in which to place any audio files that should be in the list of podcasts |
| "ringtones" | Standard directory in which to place any audio files that should be in the list of ringtones |