Status codes for the SafetyNet API.
Constant Summary
| int | RECAPTCHA_INVALID_KEYTYPE | Cannot start the reCAPTCHA service because type of site key is not valid. |
| int | RECAPTCHA_INVALID_PACKAGE_NAME | Cannot start the reCAPTCHA service because calling package name is not matched with site key. |
| int | RECAPTCHA_INVALID_SITEKEY | Cannot start the reCAPTCHA service because site key parameter is not valid. |
| int | SAFE_BROWSING_API_NOT_AVAILABLE | An internal error occurred causing the call to lookupUri(GoogleApiClient, String, int...) to be
unavailable. |
| int | SAFE_BROWSING_API_NOT_INITIALIZED | lookupUri(String, String, int...) called without first calling
initSafeBrowsing(). |
| int | SAFE_BROWSING_MISSING_API_KEY | The API key required for calling lookupUri(GoogleApiClient, String, int...) is missing in the manifest. |
| int | SAFE_BROWSING_UNSUPPORTED_THREAT_TYPES | None of the input threat types to lookupUri(GoogleApiClient, String, int...) are supported. |
| int | UNSUPPORTED_SDK_VERSION | User device SDK version is not supported. |
| int | VERIFY_APPS_INTERNAL_ERROR | An internal error occurred while using the Verify Apps API. |
| int | VERIFY_APPS_NOT_AVAILABLE | Verify Apps is not supported on this device. |
| int | VERIFY_APPS_NOT_ENABLED | Cannot list potentially harmful apps because Verify Apps is not enabled. |
Inherited Constant Summary
Inherited Method Summary
Constants
public static final int RECAPTCHA_INVALID_KEYTYPE
Cannot start the reCAPTCHA service because type of site key is not valid.
Please create new site key with the key type set to "Android" via reCAPTCHA admin site: https://g.co/recaptcha/androidsignup.
public static final int RECAPTCHA_INVALID_PACKAGE_NAME
Cannot start the reCAPTCHA service because calling package name is not matched with site key.
Please add the new package name to your site key via reCAPTCHA admin site: https://g.co/recaptcha/androidsignup or choose to disable the package name validation for your key.
public static final int RECAPTCHA_INVALID_SITEKEY
Cannot start the reCAPTCHA service because site key parameter is not valid.
public static final int SAFE_BROWSING_API_NOT_AVAILABLE
An internal error occurred causing the call to lookupUri(GoogleApiClient, String, int...) to be
unavailable.
public static final int SAFE_BROWSING_API_NOT_INITIALIZED
lookupUri(String, String, int...) called without first calling
initSafeBrowsing().
public static final int SAFE_BROWSING_MISSING_API_KEY
The API key required for calling lookupUri(GoogleApiClient, String, int...) is missing in the manifest.
A meta-data name-value pair in the app manifest with the name "com.google.android.safetynet.API_KEY" and a value consisting of the API key from the Google Developers Console is not present.
public static final int SAFE_BROWSING_UNSUPPORTED_THREAT_TYPES
None of the input threat types to lookupUri(GoogleApiClient, String, int...) are supported.
public static final int UNSUPPORTED_SDK_VERSION
User device SDK version is not supported.
public static final int VERIFY_APPS_INTERNAL_ERROR
An internal error occurred while using the Verify Apps API.
public static final int VERIFY_APPS_NOT_AVAILABLE
Verify Apps is not supported on this device.
public static final int VERIFY_APPS_NOT_ENABLED
Cannot list potentially harmful apps because Verify Apps is not enabled.
The developer may call enableVerifyApps(GoogleApiClient) to request the user turn on
the Verify Apps.
