Package io.scanbot.sdk.ui.view.edit
Class CroppingActivity.ResultContract
-
- All Implemented Interfaces:
public final class CroppingActivity.ResultContract
Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.
Implementation of ActivityResultContract for Cropping RTU activity.
Encapsulates all the hassle of input and result data mapping into- and from intent's bundle.
Please refer to Scanbot SDK documentation: https://docs.scanbot.io/document-scanner-sdk/android/features/feature-overview/
-
-
Constructor Summary
Constructors Constructor Description CroppingActivity.ResultContract()
-
Method Summary
Modifier and Type Method Description Intent
createIntent(Context context, CroppingConfiguration input)
CroppingActivity.Result
parseResult(Integer resultCode, Intent intent)
-
-
Method Detail
-
createIntent
Intent createIntent(Context context, CroppingConfiguration input)
-
parseResult
CroppingActivity.Result parseResult(Integer resultCode, Intent intent)
-
-
-
-