DeviceSecurity class

A plugin for accessing device security information and status.

This class provides methods to retrieve unique device identifiers and streams to monitor the real-time status of various security-related device features, such as USB connections, debug mode, and VPN usage.

Constructors

DeviceSecurity()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDebugModeStatus() → Stream<bool?>
A stream that emits the current debug mode status.
getDeviceId() → Future<String?>
Retrieves a unique identifier for the device.
getSecuritySnapshot() → Future<DeviceSecuritySnapshot>
Retrieves a consolidated snapshot of all security statuses at once.
getSecurityStatusStream() → Stream<Map<SecurityStatus, bool>>
A stream that emits a map of all security statuses.
getUsbConnectedStatus() → Stream<bool?>
A stream that emits the current USB connection status.
getVpnConnectionStatus() → Stream<bool?>
A stream that emits the current VPN connection status.
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