Skip to main content
Version: v3000

FrameCaptureCallback

@microblink/blinkcard


@microblink/blinkcard / FrameCaptureCallback

Type Alias: FrameCaptureCallback()

FrameCaptureCallback = (frame) => Promisable<ArrayBufferLike | void>

A callback that will be triggered on each frame when the playback state is "capturing".

Parameters

frame

ImageData

The frame to capture.

Returns

Promisable<ArrayBufferLike | void>

The frame.