Class PngAttributeValue

java.lang.Object
com.yoti.api.client.spi.remote.PngAttributeValue
All Implemented Interfaces:
Image, Media

public final class PngAttributeValue extends Object
Attribute value holding a PNG image.
  • Constructor Details

    • PngAttributeValue

      public PngAttributeValue(byte[] content)
  • Method Details

    • getMimeType

      public String getMimeType()
      Get mime type of the content.
      Specified by:
      getMimeType in interface Media
      Returns:
      mime type
    • getContent

      public byte[] getContent()
      Image content.
      Specified by:
      getContent in interface Media
      Returns:
      image as byte[]
    • getBase64Content

      public String getBase64Content()
      Description copied from interface: Media
      Base64 encoded media content
      Specified by:
      getBase64Content in interface Media
      Returns:
      media as Base64 encoded String