FileUploadListener

interface FileUploadListener

A listener to receive events for a file upload.

This interface includes the callback needed to listen updates about the progress and status of file uploads.

Functions

Link copied to clipboard
abstract fun onFailure(reason: FileUploadState.Failure.Reason)

Called when a failure occurs during the file upload.

Link copied to clipboard
abstract fun onFinished()

Called when the file upload has been successfully completed.

Link copied to clipboard
abstract fun onProgress(progress: Int)

Called to indicate the progress of the file upload.