# androidx.security.state

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/androidx/security/state/package-summary "View this page in Java")

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

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState` | Provides methods to access and manage security state information for various components within a system. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.DateBasedSecurityPatchLevel` | Implementation of `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.SecurityPatchLevel` for a date-based patch level. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.GenericStringSecurityPatchLevel` | Implementation of `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.SecurityPatchLevel` for a simple string patch level. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.SecurityPatchLevel` | Abstract base class representing a security patch level. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.VersionedSecurityPatchLevel` | Implementation of `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.SecurityPatchLevel` for a versioned patch level. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityStateManagerCompat` | This class is a wrapper around AOSP `https://developer.android.com/reference/android/os/SecurityStateManager.html` service API added in SDK 35. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/UpdateCheckResult` | Container for the result of a security update check from a specific provider. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/UpdateInfo` | Represents information about an available update for a component. |
| `https://developer.android.com/reference/kotlin/androidx/security/state/UpdateInfo.Builder` | Builder class for creating an instance of UpdateInfo. |

## Annotations

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.Component` | Annotation for defining the component to use. |

## Enums

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/security/state/SecurityPatchState.Severity` | Severity of reported security issues. |