launch
fun launch(activity: ComponentActivity, paymentAuthRequest: VenmoPaymentAuthRequest.ReadyToLaunch): VenmoPendingRequest
Launches the Venmo authentication flow by switching to the Venmo app or a mobile browser, if the Venmo app is not installed on the device.
Return
VenmoPendingRequest a VenmoPendingRequest.Started should be stored to complete the flow upon return to app in VenmoLauncher.handleReturnToApp, or a VenmoPendingRequest.Failure with an error if the Venmo flow was unable to be launched in the app or in a browser.
Parameters
activity
the ComponentActivity to launch the Venmo flow from
paymentAuthRequest
the result of VenmoClient.createPaymentAuthRequest