Class UploadFaceCaptureImagePayload.Builder
java.lang.Object
com.yoti.api.client.docs.session.create.facecapture.UploadFaceCaptureImagePayload.Builder
- Enclosing class:
- UploadFaceCaptureImagePayload
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Sets the content type for uploading a JPEG imageSets the content type for uploading a PNG imagewithImageContents(byte[] imageContents) Sets the contents of the image to be uploaded
-
Method Details
-
forJpegImage
Sets the content type for uploading a JPEG image- Returns:
- the builder
-
forPngImage
Sets the content type for uploading a PNG image- Returns:
- the builder
-
withImageContents
Sets the contents of the image to be uploaded- Parameters:
imageContents- the content of the image- Returns:
- the builder
-
build
-