Interface Logging.UploadListener

  • All Implemented Interfaces:

    
    public interface Logging.UploadListener
    
                        

    Listener used to dispatch log upload events.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.