Package com.yoti.api.client.spi.remote
Class JpegAttributeValue
java.lang.Object
com.yoti.api.client.spi.remote.JpegAttributeValue
Attribute value holding a JPEG image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBase64 encoded media contentbyte[]Image content.Get mime type of the content.
-
Constructor Details
-
JpegAttributeValue
public JpegAttributeValue(byte[] content)
-
-
Method Details
-
getMimeType
Get mime type of the content.- Specified by:
getMimeTypein interfaceMedia- Returns:
- mime type
-
getContent
public byte[] getContent()Image content.- Specified by:
getContentin interfaceMedia- Returns:
- image as byte[]
-
getBase64Content
Description copied from interface:MediaBase64 encoded media content- Specified by:
getBase64Contentin interfaceMedia- Returns:
- media as Base64 encoded String
-