Class PayloadFactory

java.lang.Object
com.cloudinary.android.payload.PayloadFactory

public class PayloadFactory
extends java.lang.Object
This class is used to construct Payload instances from URIs.
  • Constructor Summary

    Constructors 
    Constructor Description
    PayloadFactory()  
  • Method Summary

    Modifier and Type Method Description
    static Payload fromUri​(java.lang.String uri)
    Constructs the payload extracted from the uri.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • fromUri

      public static Payload fromUri​(java.lang.String uri)
      Constructs the payload extracted from the uri.
      Parameters:
      uri - Uri that contains the payload data and type
      Returns:
      The constructed payload