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

SafeBrowsingThreat

public class SafeBrowsingThreat extends Object

A threat of interest used as input to lookupUri(String, String, int...) and returned as output if these threats are detected for the input URI to lookupUri(String, String, int...).

Constant Summary

int TYPE_POTENTIALLY_HARMFUL_APPLICATION This threat type will match URLs of pages that are flagged as containing potentially harmful applications.
int TYPE_SOCIAL_ENGINEERING This threat type will match URLs of pages that are flagged as containing social engineering threats.

Public Method Summary

int
getThreatType()
Gets the threat type for this threat.

Inherited Method Summary

Constants

public static final int TYPE_POTENTIALLY_HARMFUL_APPLICATION

This threat type will match URLs of pages that are flagged as containing potentially harmful applications.

Constant Value: 4

public static final int TYPE_SOCIAL_ENGINEERING

This threat type will match URLs of pages that are flagged as containing social engineering threats.

Constant Value: 5

Public Methods

public int getThreatType ()

Gets the threat type for this threat.