CardScanSheet

Types

Link copied to clipboard

Callback to notify when scanning finishes and a result is available.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun attachCardScanFragment(lifecycleOwner: LifecycleOwner, supportFragmentManager: FragmentManager, @IdRes fragmentContainer: Int, onFinished: (cardScanSheetResult: CardScanSheetResult) -> Unit)

Attach the cardscan fragment to the specified container. Results will be returned in the callback function.

Link copied to clipboard
fun present()

Present the scan flow using the provided ID and Secret. Results will be returned in the callback function.