getPromiseResultFromActivityResult
fun getPromiseResultFromActivityResult(requestCode: Int, resultCode: Int, data: Intent?): PromiseResult?
Convert the intent response into a PromiseResult.
Return
An object containing the result of the scan flow or an error message
Parameters
requestCode
The request code received by the onActivityResult method
resultCode
The result code received by the onActivityResult method
data
The data received by the onActivityResult method
fun getPromiseResultFromActivityResult(context: Context, requestCode: Int, resultCode: Int, data: Intent?): PromiseResult?
Deprecated
Use method without context parameter
Replace with
getPromiseResultFromActivityResult(requestCode, resultCode, data)
Content copied to clipboard