PayApiAvailabilityStatus

  • 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.

public abstract @interface PayApiAvailabilityStatus implements Annotation

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

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