DeviceSettings class
Information about security related device settings on device.
Constructors
- DeviceSettings({bool? adbEnabled, bool? developmentSettingsEnabled, String? encryptionStatus, bool? isDeviceSecure, bool? isEncrypted, bool? unknownSourcesEnabled, bool? verifyAppsEnabled})
- DeviceSettings.fromJson(Map json_)
Properties
- adbEnabled ↔ bool?
-
Whether ADB (https://developer.android.com/studio/command-line/adb.html)
is enabled on the device.
getter/setter pair
- developmentSettingsEnabled ↔ bool?
-
Whether developer mode is enabled on the device.
getter/setter pair
- encryptionStatus ↔ String?
-
Encryption status from DevicePolicyManager.
Possible string values are:
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeviceSecure ↔ bool?
-
Whether the device is secured with PIN/password.
getter/setter pair
- isEncrypted ↔ bool?
-
Whether the storage encryption is enabled.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unknownSourcesEnabled ↔ bool?
-
Whether installing apps from unknown sources is enabled.
getter/setter pair
- verifyAppsEnabled ↔ bool?
-
Whether Google Play Protect verification
(https://support.google.com/accounts/answer/2812853) is enforced on the
device.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited