-
public final class PhotoPaymentResult extends ActivityResultContract<PhotoPaymentConfiguration, String>
An ActivityResultContract to start the photo payment process, returning the recognized payment information as JSON string or null if user canceled.
-
-
Constructor Summary
Constructors Constructor Description PhotoPaymentResult()
-
Method Summary
Modifier and Type Method Description IntentcreateIntent(Context context, PhotoPaymentConfiguration scanConfig)StringparseResult(Integer resultCode, Intent intent)-
-
Method Detail
-
createIntent
Intent createIntent(Context context, PhotoPaymentConfiguration scanConfig)
-
parseResult
String parseResult(Integer resultCode, Intent intent)
-
-
-
-