Interface Logging.UploadListener
-
- All Implemented Interfaces:
public interface Logging.UploadListenerListener used to dispatch log upload events.
-
-
Method Summary
Modifier and Type Method Description abstract voidonSuccess()Called when the log upload completes sucessfully. abstract voidonError(@NonNull() Throwable throwable)Called when the log upload completes unsucessfully. abstract voidonProgress(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.
-
-
-
-