Skip to main content

WorkerScanningSession

@microblink/blinkid-verify


@microblink/blinkid-verify / WorkerScanningSession

Type Alias: WorkerScanningSession

WorkerScanningSession = Omit<BlinkIdVerifyScanningSession, "process" | "deleteLater" | "isAliasOf" | "clone"> & object

The worker scanning session.

Type declaration

getSettings()

getSettings: () => BlinkIdVerifySessionSettings

Gets the settings.

Returns

BlinkIdVerifySessionSettings

The settings.

ping

ping: BlinkIdVerifyWorker["reportPinglet"]

process()

process: (image) => ProcessResultWithBuffer

Parameters

image

ImageData

Returns

ProcessResultWithBuffer

sendPinglets

sendPinglets: BlinkIdVerifyWorker["sendPinglets"]

showDemoOverlay()

showDemoOverlay: () => boolean

Shows the demo overlay.

Returns

boolean

Whether the demo overlay is shown.

showProductionOverlay()

showProductionOverlay: () => boolean

Shows the production overlay.

Returns

boolean

Whether the production overlay is shown.