DeviceTrustFlag enum

A security signal encoded in a device trust report's flags value.

The numeric masks are part of the platform-channel protocol and must remain stable across releases.

Inheritance
Available extensions

Values

rootedOrJailbroken → const DeviceTrustFlag

Device is rooted (Android) or jailbroken (iOS).

const DeviceTrustFlag(1)
emulator → const DeviceTrustFlag

App is running on an emulator or simulator.

const DeviceTrustFlag(2)
devModeEnabled → const DeviceTrustFlag

Android developer mode is enabled.

const DeviceTrustFlag(4)
adbEnabled → const DeviceTrustFlag

Android Debug Bridge (ADB) is enabled.

const DeviceTrustFlag(8)
fridaSuspected → const DeviceTrustFlag

Frida or another hooking framework is suspected.

const DeviceTrustFlag(16)
debuggerAttached → const DeviceTrustFlag

A debugger is attached to the app process.

const DeviceTrustFlag(32)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
mask → int
Stable bit mask used by the compact native report protocol.
final
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

Methods

isSetIn(int flags) → bool
Whether this signal is set in flags.
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

Constants

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