Package ch.threema.apitool.results
Class UploadResult
java.lang.Object
ch.threema.apitool.results.UploadResult
Result of a file upload
-
Constructor Summary
Constructors -
Method Summary
-
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
-