Class AssetContent


  • public class AssetContent
    extends Object
    The Card Asset content includes the MIME type, encoded bytes, width and height of the resource.
    Since:
    1.0.0
    • Method Detail

      • getEncodedData

        @NonNull
        public String getEncodedData()
        Gets the resource bytes encoded in Base64 format.
      • getWidth

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

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