Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeviceSettings

import type { DeviceSettings } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

Information about security related device settings on device.

interface DeviceSettings {
adbEnabled?: boolean;
developmentSettingsEnabled?: boolean;
encryptionStatus?:
| "ENCRYPTION_STATUS_UNSPECIFIED"
| "UNSUPPORTED"
| "INACTIVE"
| "ACTIVATING"
| "ACTIVE"
| "ACTIVE_DEFAULT_KEY"
| "ACTIVE_PER_USER";
isDeviceSecure?: boolean;
isEncrypted?: boolean;
unknownSourcesEnabled?: boolean;
verifyAppsEnabled?: boolean;
}

§Properties

§
adbEnabled?: boolean
[src]

Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.

§
developmentSettingsEnabled?: boolean
[src]

Whether developer mode is enabled on the device.

§
encryptionStatus?: "ENCRYPTION_STATUS_UNSPECIFIED" | "UNSUPPORTED" | "INACTIVE" | "ACTIVATING" | "ACTIVE" | "ACTIVE_DEFAULT_KEY" | "ACTIVE_PER_USER"
[src]

Encryption status from DevicePolicyManager.

§
isDeviceSecure?: boolean
[src]

Whether the device is secured with PIN/password.

§
isEncrypted?: boolean
[src]

Whether the storage encryption is enabled.

§
unknownSourcesEnabled?: boolean
[src]

Whether installing apps from unknown sources is enabled.

§
verifyAppsEnabled?: boolean
[src]

Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced on the device.