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
    ErrorInfo getError()
    Error object with a code and a technical description in case the upload failed.
    java.util.Map getSuccessResultData()
    Upload result params.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getSuccessResultData

      public java.util.Map getSuccessResultData()
      Upload result params. Null if the upload failed.
    • getError

      public ErrorInfo getError()
      Error object with a code and a technical description in case the upload failed. Otherwise null.