Package-level declarations

Types

Link copied to clipboard

Default implementation using SharedPreferences and managed config merge.

Link copied to clipboard

Manages device group assignments for fleet segmentation.

Link copied to clipboard
@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.

Link copied to clipboard
class DevicePostureCollector(context: Context, deviceGroupProvider: DeviceGroupProvider? = null)

Collects a minimal device posture snapshot suitable for fleet ops.

Link copied to clipboard
fun interface DiagnosticsUploader

Host-controlled upload hook.

Link copied to clipboard

Reads Android "managed configurations" (app restrictions) typically provided by EMM/MDM.

Link copied to clipboard

Detects policy/config drift across runs.

Functions

Link copied to clipboard
suspend fun DiagnosticsUploader.upload(file: File)