Class OneSideDocumentScan
java.lang.Object
androidx.activity.result.contract.ActivityResultContract<Void,OneSideScanResult>
com.microblink.blinkid.activity.result.contract.OneSideDocumentScan
public class OneSideDocumentScan
extends androidx.activity.result.contract.ActivityResultContract<Void,OneSideScanResult>
The Activity Result API's contract to launch scanning of a one-sided document with
BlinkIdUISettings
and BlinkIdSingleSideRecognizer
.
Returns the OneSideScanResult
.
-
Nested Class Summary
Nested classes/interfaces inherited from class androidx.activity.result.contract.ActivityResultContract
androidx.activity.result.contract.ActivityResultContract.SynchronousResult<T extends Object>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key for exception stored in intent when returning result with theActivity.RESULT_CANCELED
code. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionandroid.content.Intent
createIntent
(android.content.Context context, Void ignore) parseResult
(int resultCode, android.content.Intent data) Methods inherited from class androidx.activity.result.contract.ActivityResultContract
getSynchronousResult
-
Field Details
-
EXTRA_SCAN_EXCEPTION
Key for exception stored in intent when returning result with theActivity.RESULT_CANCELED
code.- See Also:
-
-
Constructor Details
-
OneSideDocumentScan
public OneSideDocumentScan()
-
-
Method Details
-
createIntent
@NonNull public android.content.Intent createIntent(@NonNull android.content.Context context, Void ignore) - Specified by:
createIntent
in classandroidx.activity.result.contract.ActivityResultContract<Void,
OneSideScanResult>
-
parseResult
- Specified by:
parseResult
in classandroidx.activity.result.contract.ActivityResultContract<Void,
OneSideScanResult>
-