InternalResultContract

Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.

Implementation of ActivityResultContract for Cropping RTU scanner activity.

Encapsulates all the hassle of input and result data mapping into- and from intent's bundle.

Inheritors

Constructors

Link copied to clipboard
constructor(activityClass: Class<*>)

Functions

Link copied to clipboard
open fun createIntent(context: Context, input: CroppingConfiguration): Intent
Link copied to clipboard
open fun parseResult(resultCode: Int, intent: Intent?): R