Interface AfcClient.UploadProgressCallback

Enclosing class:
AfcClient

public static interface AfcClient.UploadProgressCallback
  • Method Summary

    Modifier and Type Method Description
    void error​(java.lang.String message)
    Called if the upload fails.
    void progress​(java.io.File path, int percentComplete)
    Reports the progress of an upload to a device.
    void success()
    Called once the upload has been completed successfully.
  • Method Details

    • progress

      void progress​(java.io.File path, int percentComplete)
      Reports the progress of an upload to a device.
      Parameters:
      path - the path currently being uploaded.
      percentComplete - the progress in percent.
    • success

      void success()
      Called once the upload has been completed successfully.
    • error

      void error​(java.lang.String message)
      Called if the upload fails.
      Parameters:
      message - the error message.