SafetyNetApi.SafeBrowsingResponse

  • SafeBrowsingResponse is a Response object for the lookupUri method and extends Response

  • You should use getStatus() and ensure isSuccess() is true before accessing other fields.

  • The getDetectedThreats() method returns a list of detected threats from the input URI.

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:

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