DevicePosture

@Serializable
data class DevicePosture(val isDeviceOwner: Boolean, val isLockTaskPermitted: Boolean, val androidSdkInt: Int, val deviceModel: String, val manufacturer: String, val securityPatch: String?, val supportsHardwareAttestation: Boolean = false, val keySecurityLevel: SecurityLevel = SecurityLevel.UNKNOWN, val keysAreHardwareBacked: Boolean = false, val battery: BatteryStatus? = null, val storage: StorageStatus? = null, val connectivity: ConnectivityStatus? = null, val deviceGroups: List<String> = emptyList())

Device posture snapshot for fleet operations.

Privacy (GDPR Art. 5): Contains no PII. Only aggregate device state. All identifiers (IMEI, serial, MAC) are intentionally excluded.

Compliance (ISO 27001 A.8): Device state information for asset management.

Constructors

Link copied to clipboard
constructor(isDeviceOwner: Boolean, isLockTaskPermitted: Boolean, androidSdkInt: Int, deviceModel: String, manufacturer: String, securityPatch: String?, supportsHardwareAttestation: Boolean = false, keySecurityLevel: SecurityLevel = SecurityLevel.UNKNOWN, keysAreHardwareBacked: Boolean = false, battery: BatteryStatus? = null, storage: StorageStatus? = null, connectivity: ConnectivityStatus? = null, deviceGroups: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard

Battery status snapshot.

Link copied to clipboard

Connectivity status snapshot.

Link copied to clipboard

Device group assignments for fleet segmentation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether encryption keys are stored in secure hardware.

Link copied to clipboard

Security level of SDK encryption keys (SOFTWARE, TEE, or STRONGBOX).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Storage status snapshot.

Link copied to clipboard

Whether the device supports hardware-backed key attestation.