ReportCallback

interface ReportCallback : STWCallback<T>

This is a callback used when send a report file to the backend

See also

Functions

Link copied to clipboard
abstract fun onCompleted(totalSize: Long)
Called when the upload operation is completed successfully.
Link copied to clipboard
abstract fun onProgress(transferredBytes: Long, totalBytes: Long)
Called to get information when uploading the report file
Link copied to clipboard
abstract fun onStarted()
Called when the upload of the report file is started or waiting to be started

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.