public static class
SafetyNetApi.SafeBrowsingResponse
extends Response<SafetyNetApi.SafeBrowsingResult>
Response for lookupUri(String, String, int...).
Use getStatus() to obtain the status and ensure
isSuccess() is true before accessing any other
fields. The other statuses are:
-
SAFE_BROWSING_API_NOT_AVAILABLE: the API is not available for use; -
SAFE_BROWSING_MISSING_API_KEY: an API key (generated in the developer console) was not added to the application's manifest; -
SAFE_BROWSING_UNSUPPORTED_THREAT_TYPES: all the threat types specified inlookupUri(GoogleApiClient, String, int...)are currently not supported.
Public Constructor Summary
Public Method Summary
| List<SafeBrowsingThreat> |
getDetectedThreats()
Returns threats detected from the input URI.
|
Inherited Method Summary
Public Constructors
public SafetyNetApi.SafeBrowsingResponse ()
Public Methods
public List<SafeBrowsingThreat> getDetectedThreats ()
Returns threats detected from the input URI.
Returns
Listof threat types fromSafeBrowsingThreatfor the input URI tolookupUri(GoogleApiClient, String, int...).
