Class AssetContent


  • public class AssetContent
    extends Object
    The Card Asset content resource, including mimeType, encoded bytes, width and height of this resource.
    Since:
    1.0.0
    • Method Detail

      • getEncodedData

        @NonNull
        public String getEncodedData()
        Get resource bytes encoded in base64 format
      • getWidth

        public int getWidth()
        Get width of the resource (if any). Required for PNG images
      • getHeight

        public int getHeight()
        Get height of the resource (if any). Required for PNG images