launch
fun launch(activity: ComponentActivity, localPaymentAuthRequest: LocalPaymentAuthRequest.ReadyToLaunch): LocalPaymentPendingRequest
Launches the local payment flow by switching to a web browser for user authentication.
Return
LocalPaymentPendingRequest a LocalPaymentPendingRequest.Started should be stored to complete the flow upon return to app in LocalPaymentLauncher.handleReturnToApp, or a LocalPaymentPendingRequest.Failure with an error if the local payment flow was unable to be launched in a browser.
Parameters
activity
an Android ComponentActivity
localPaymentAuthRequest
the payment auth request created in LocalPaymentClient.createPaymentAuthRequest