toBlinkIdVerifyRequest

fun toBlinkIdVerifyRequest(returnFullDocumentImage: Boolean? = null, returnFaceImage: Boolean? = null, returnSignatureImage: Boolean? = null, photocopyMatchLevel: MatchLevel? = null, photoForgeryMatchLevel: MatchLevel? = null, generativeAiMatchLevel: MatchLevel? = null, returnImageFormat: ImageFormat? = null, anonymizationMode: AnonymizationMode? = null): BlinkIdVerifyRequest

Converts this capture result into BlinkIdVerifyRequest using BlinkIdVerifySessionSettings settings as the source of truth for all shared on-device and backend processing options.

Shared settings are derived from sessionSettings.scanningSettings, ensuring that values used during document capture match the values sent for backend verification.

Use this method when creating a request from a local capture result to avoid inconsistent configuration between on-device scanning and backend processing.

Return

A BlinkIdVerifyRequest whose shared options and use-case match capture session settings.

Parameters

returnFullDocumentImage

Whether backend response should include full document image.

returnFaceImage

Whether backend response should include face image.

returnSignatureImage

Whether backend response should include signature image.

photocopyMatchLevel

Backend-only photocopy check strictness.

photoForgeryMatchLevel

Backend-only photo forgery check strictness.

generativeAiMatchLevel

Backend-only generative AI check strictness.

returnImageFormat

Preferred image format in backend response.

anonymizationMode

Anonymization mode to apply on backend response data.


Deprecated

This method allows mismatched scanning and request settings. Use toBlinkIdVerifyRequest() method that derives options and useCase from capture session settings.

Converts capture result into BlinkIdVerifyRequest using caller-provided options.

Ensure that the settings used for capturing document images match the settings used for BlinkIdVerifyRequest.