Google is committed to advancing racial equity for Black communities. See how.

PayClient.SavePassesResult

public static abstract @interface PayClient.SavePassesResult implements Annotation

Possible result codes passed back in onActivityResult() when calling PayClient.savePasses(String, Activity, int) or PayClient.savePassesJwt(String, Activity, int). These are in addition to Activity.RESULT_OK and Activity.RESULT_CANCELED.

Constant Summary

int API_UNAVAILABLE The PayClient.savePasses(String, Activity, int) or PayClient.savePassesJwt(String, Activity, int) API is unavailable.
int INTERNAL_ERROR Indicates that an internal error occurred while calling the API.
int SAVE_ERROR An error occurred while saving the passes.

Inherited Method Summary

Constants

public static final int API_UNAVAILABLE

public static final int INTERNAL_ERROR

Indicates that an internal error occurred while calling the API. Retry the API call. If the error persists assume that the API is not available.

Constant Value: 3

public static final int SAVE_ERROR

An error occurred while saving the passes. Check EXTRA_API_ERROR_MESSAGE to debug the issue.

Constant Value: 2