GooglePayPaymentMethodLauncher
Constructor to be used when launching GooglePayPaymentMethodLauncher from an Activity. This constructor must be called no later than Activity#onCreate()
.
Parameters
the Activity that is launching the GooglePayPaymentMethodLauncher
called after determining whether Google Pay is available and ready on the device. present may only be called if Google Pay is ready.
called with the result of the GooglePayPaymentMethodLauncher operation
Constructor to be used when launching GooglePayPaymentMethodLauncher from a Fragment. This constructor must be called no later than Fragment#onViewCreated()
.
Parameters
the Fragment that is launching the GooglePayPaymentMethodLauncher
called after determining whether Google Pay is available and ready on the device. present may only be called if Google Pay is ready.
called with the result of the GooglePayPaymentMethodLauncher operation