androidx.security.state


This library makes it easy for developers to obtain detailed security patch state and security updates information for updatable components (system, system modules, kernel, ...) on a device.

Classes

SecurityPatchState

Provides methods to access and manage security state information for various components within a system.

SecurityPatchState.DateBasedSecurityPatchLevel

Implementation of SecurityPatchLevel for a date-based patch level.

SecurityPatchState.GenericStringSecurityPatchLevel

Implementation of SecurityPatchLevel for a simple string patch level.

SecurityPatchState.SecurityPatchLevel

Abstract base class representing a security patch level.

SecurityPatchState.VersionedSecurityPatchLevel

Implementation of SecurityPatchLevel for a versioned patch level.

SecurityStateManager

Manages the retrieval and storage of security patch levels and module information for an Android device.

UpdateInfo

Represents information about an available update for a component.

UpdateInfo.Builder
UpdateInfoProvider

A content provider for managing and serving update information for system components.

Enums

SecurityPatchState.Component

Types of components whose security state can be accessed.

SecurityPatchState.Severity

Severity of reported security issues.

Top-level functions summary

Top-level functions

fun UpdateInfo(initializer: UpdateInfo.Builder.() -> Unit): UpdateInfo