public class GooglePayAvailabilityChecker
extends java.lang.Object
Constructor and Description |
---|
GooglePayAvailabilityChecker(GooglePayConfig config,
android.app.Activity activity,
boolean isTestingEnabled)
Creates a new GooglePayAvailabilityChecker with the given Google Pay configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
isGooglePayAvailable(GooglePayAvailabilityListener listener)
Checks whether Google Pay is available on the device.
|
public GooglePayAvailabilityChecker(@NonNull GooglePayConfig config, @NonNull android.app.Activity activity, boolean isTestingEnabled)
config
- The Google Pay configuration.activity
- Activity from which Google Pay will be started.isTestingEnabled
- True if testing is enabled.public void isGooglePayAvailable(@NonNull GooglePayAvailabilityListener listener)
listener
- Callback which is called after the check.