Interface Logging.UploadListener
-
- All Implemented Interfaces:
public interface Logging.UploadListener
Listener used to dispatch log upload events.
-
-
Method Summary
Modifier and Type Method Description abstract void
onSuccess()
Called when the log upload completes sucessfully. abstract void
onError(@NonNull() Throwable throwable)
Called when the log upload completes unsucessfully. abstract void
onProgress(int percentUploaded)
Called as the log upload progresses. -
-
Method Detail
-
onSuccess
abstract void onSuccess()
Called when the log upload completes sucessfully. Called on the main thread.
-
onError
abstract void onError(@NonNull() Throwable throwable)
Called when the log upload completes unsucessfully. Called on the main thread.
- Parameters:
throwable
- the error that caused the upload to fail.
-
onProgress
abstract void onProgress(int percentUploaded)
Called as the log upload progresses. Called on the main thread.
- Parameters:
percentUploaded
- percent of the log uploaded so far.
-
-
-
-