public final class

SafetyNetStatusCodes

extends CommonStatusCodes
java.lang.Object
   ↳ com.google.android.gms.common.api.CommonStatusCodes
     ↳ com.google.android.gms.safetynet.SafetyNetStatusCodes

Class Overview

Status codes for the SafetyNet API.

Summary

Constants
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.
[Expand]
Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
From class java.lang.Object

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.

Constant Value: 12008 (0x00002ee8)

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.

Constant Value: 12013 (0x00002eed)

public static final int RECAPTCHA_INVALID_SITEKEY

Cannot start the reCAPTCHA service because site key parameter is not valid.

Constant Value: 12007 (0x00002ee7)

public static final int SAFE_BROWSING_API_NOT_AVAILABLE

An internal error occurred causing the call to lookupUri(GoogleApiClient, String, int...) to be unavailable.

Constant Value: 12002 (0x00002ee2)

public static final int SAFE_BROWSING_API_NOT_INITIALIZED

lookupUri(String, String, int...) called without first calling initSafeBrowsing().

Constant Value: 12009 (0x00002ee9)

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.

Constant Value: 12001 (0x00002ee1)

public static final int SAFE_BROWSING_UNSUPPORTED_THREAT_TYPES

None of the input threat types to lookupUri(GoogleApiClient, String, int...) are supported.

Constant Value: 12000 (0x00002ee0)

public static final int UNSUPPORTED_SDK_VERSION

User device SDK version is not supported.

Constant Value: 12006 (0x00002ee6)

public static final int VERIFY_APPS_INTERNAL_ERROR

An internal error occurred while using the Verify Apps API.

Constant Value: 12004 (0x00002ee4)

public static final int VERIFY_APPS_NOT_AVAILABLE

Verify Apps is not supported on this device.

Constant Value: 12003 (0x00002ee3)

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.

Constant Value: 12005 (0x00002ee5)