com.yoti.api.client.spi.remote.PngAttributeValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoti-sdk-api Show documentation
Show all versions of yoti-sdk-api Show documentation
Java SDK for simple integration with the Yoti platform
The newest version!
package com.yoti.api.client.spi.remote;
/**
* Attribute value holding a PNG image.
*
*/
public final class PngAttributeValue extends ImageAttributeValue {
private static final String MIME_TYPE = "image/png";
private final byte[] content;
public PngAttributeValue(byte[] content) {
this.content = content;
}
@Override
public String getMimeType() {
return MIME_TYPE;
}
@Override
public byte[] getContent() {
return content.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy