MedicalCertificateFrameHandler

Performs Medical Certificates data detection on camera preview frames. Outputs results via MedicalCertificateFrameHandler.ResultHandler (.addResultHandler).

Preview frame considered intercepted if at least one MedicalCertificateFrameHandler.ResultHandler returns true from MedicalCertificateFrameHandler.ResultHandler.handle

Constructors

Link copied to clipboard
constructor(context: Context?, medicalCertificateScanner: MedicalCertificateScanner)
constructor(medicalCertificateScanner: MedicalCertificateScanner)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Successor-class needed for cross-platform implementation

Link copied to clipboard

Continuously notified about MC data detection results.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Registers result handler which will be notified about MC data detection results.

Link copied to clipboard
open override fun handleFrame(previewFrame: FrameHandler.Frame): Boolean

Invoked for every new camera preview frame.

Link copied to clipboard