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 Link icon

    Nested classes/interfaces inherited from class androidx.activity.result.contract.ActivityResultContract Link icon

    androidx.activity.result.contract.ActivityResultContract.SynchronousResult<T>
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Key for exception stored in intent when returning result with the Activity.RESULT_CANCELED code.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    android.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 Link icon

    getSynchronousResult

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • EXTRA_SCAN_EXCEPTION Link icon

      public static final String EXTRA_SCAN_EXCEPTION
      Key for exception stored in intent when returning result with the Activity.RESULT_CANCELED code.
      See Also:
  • Constructor Details Link icon

    • OneSideDocumentScan Link icon

      public OneSideDocumentScan()
  • Method Details Link icon

    • createIntent Link icon

      @NonNull public android.content.Intent createIntent(@NonNull android.content.Context context, Void ignore)
      Specified by:
      createIntent in class androidx.activity.result.contract.ActivityResultContract<Void,OneSideScanResult>
    • parseResult Link icon

      public OneSideScanResult parseResult(int resultCode, @Nullable android.content.Intent data)
      Specified by:
      parseResult in class androidx.activity.result.contract.ActivityResultContract<Void,OneSideScanResult>