PayApiAvailabilityStatus
Stay organized with collections
Save and categorize content based on your preferences.
Pay API availability status on the device.
Constant Summary
int |
AVAILABLE
|
Indicates that the Pay API requested is
available and ready to be used. |
int |
NOT_ELIGIBLE
|
Indicates that the user is currently not
eligible for using the Pay API requested. |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
AVAILABLE
Indicates that the Pay API requested is available and ready to be used.
Constant Value: 0
public static final int
NOT_ELIGIBLE
Indicates that the user is currently not eligible for using the Pay API requested.
The user may become eligible in the future.
Constant Value: 2
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`PayApiAvailabilityStatus` is an annotation that provides the status of the Google Pay API on a device."],["It defines two constants: `AVAILABLE` (API is ready to use) and `NOT_ELIGIBLE` (user is currently ineligible)."],["`AVAILABLE` is represented by the integer value 0, and `NOT_ELIGIBLE` is represented by the integer value 2."]]],["The `PayApiAvailabilityStatus` interface defines the availability of a Pay API on a device. It provides two integer constants: `AVAILABLE` (value 0), signifying the API is ready for use, and `NOT_ELIGIBLE` (value 2), indicating the user is currently ineligible, but might become eligible later. This interface implements `Annotation` and provides methods such as `annotationType`, `equals`, `hashCode`, and `toString`. These constants provide status of whether a pay API is ready for use.\n"]]