DangerType enum

Inheritance
Available extensions

Values

file → const DangerType

The download's filename is suspicious.

const DangerType('file')
url → const DangerType

The download's URL is known to be malicious.

const DangerType('url')
content → const DangerType

The downloaded file is known to be malicious.

const DangerType('content')
uncommon → const DangerType

The download's URL is not commonly downloaded and could be dangerous.

const DangerType('uncommon')
host → const DangerType

The download came from a host known to distribute malicious binaries and is likely dangerous.

const DangerType('host')
unwanted → const DangerType

The download is potentially unwanted or unsafe. E.g. it could make changes to browser or computer settings.

const DangerType('unwanted')
safe → const DangerType

The download presents no known danger to the user's computer.

const DangerType('safe')
accepted → const DangerType

The user has accepted the dangerous download.

const DangerType('accepted')
allowlistedByPolicy → const DangerType

Enterprise-related values.

const DangerType('allowlistedByPolicy')
asyncScanning → const DangerType
const DangerType('asyncScanning')
asyncLocalPasswordScanning → const DangerType
const DangerType('asyncLocalPasswordScanning')
passwordProtected → const DangerType
const DangerType('passwordProtected')
blockedTooLarge → const DangerType
const DangerType('blockedTooLarge')
sensitiveContentWarning → const DangerType
const DangerType('sensitiveContentWarning')
sensitiveContentBlock → const DangerType
const DangerType('sensitiveContentBlock')
deepScannedFailed → const DangerType
const DangerType('deepScannedFailed')
deepScannedSafe → const DangerType
const DangerType('deepScannedSafe')
deepScannedOpenedDangerous → const DangerType
const DangerType('deepScannedOpenedDangerous')
promptForScanning → const DangerType
const DangerType('promptForScanning')
promptForLocalPasswordScanning → const DangerType
const DangerType('promptForLocalPasswordScanning')
accountCompromise → const DangerType
const DangerType('accountCompromise')
blockedScanFailed → const DangerType
const DangerType('blockedScanFailed')
forceSaveToGdrive → const DangerType

For use by the Secure Enterprise Browser extension. When required, Chrome will block the download to disc and download the file directly to Google Drive.

const DangerType('forceSaveToGdrive')
forceSaveToOnedrive → const DangerType

For use by the Secure Enterprise Browser extension. When required, Chrome will block the download to disc and download the file directly to OneDrive.

const DangerType('forceSaveToOnedrive')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → JSString
no setter
value → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJS(JSString value) → DangerType

Constants

values → const List<DangerType>
A constant List of the values in this enum, in order of their declaration.