SharedStorageDirectoryPicker
Triggers an intent to choose a folder to which the files will be saved. The reference to SharedStorageDirectoryPicker cannot live longer than the activity of the registry.
Important: This is a Public Preview API. It may be changed or removed at any time.
Types
Link copied to clipboard
interface DirectoryPickerCallback
Callback which is responsible to inform about a Uri of the picked directory.
Functions
Link copied to clipboard
fun pickDirectory(startingDirectoryUri: Uri? = null, callback: SharedStorageDirectoryPicker.DirectoryPickerCallback)
Triggers an intent to pick the folder on the device to which the files with logs will be saved. The result of the operation is notified with the callback.