CreditCardScannerFrameHandler

Performs credit card data detection on camera preview frames. Outputs results via CreditCardScannerFrameHandler.ResultHandler.

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

Constructors

Link copied to clipboard
constructor(creditCardScanner: CreditCardScanner)

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 credit card data detection results.

Functions

Link copied to clipboard

Registers result handler which will be notified about credit card 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