FilePickedCallback

Callback that is responsible for informing about a Uri of the picked file.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun onCanceled()

Called when file selection was cancelled.

Link copied to clipboard
abstract fun onFailure(failure: FilePickedFailure)

Called when an error occurred during the file picking.

Link copied to clipboard
abstract fun onFilePicked(fileUri: Uri)

Called when the file was picked.