Class UploadResult

java.lang.Object
ch.threema.apitool.results.UploadResult

public class UploadResult extends Object
Result of a file upload
  • Constructor Details

    • UploadResult

      public UploadResult(int responseCode, byte[] blobId)
  • Method Details

    • getBlobId

      public byte[] getBlobId()
      Returns:
      the blob ID that has been created
    • isSuccess

      public boolean isSuccess()
      Returns:
      whether the upload succeeded
    • getResponseCode

      public int getResponseCode()
      Returns:
      the response code of the upload