Package com.cloudinary.android.callback
Class UploadResult
java.lang.Object
com.cloudinary.android.callback.UploadResult
public class UploadResult
extends java.lang.Object
This object contains the results of a single upload.
If the upload was successful the upload params will be available through
getSuccessResultData() and getError() will be null.
If the upload encountered a fatal error (i.e. will not be rescheduled) there will be no data and getError() will return the error description.-
Constructor Summary
Constructors Constructor Description UploadResult(java.util.Map successResultData, ErrorInfo error) -
Method Summary
Modifier and Type Method Description ErrorInfogetError()Error object with a code and a technical description in case the upload failed.java.util.MapgetSuccessResultData()Upload result params.
-
Constructor Details
-
Method Details
-
getSuccessResultData
public java.util.Map getSuccessResultData()Upload result params. Null if the upload failed. -
getError
Error object with a code and a technical description in case the upload failed. Otherwise null.
-