Stay organized with collections
Save and categorize content based on your preferences.
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
Enums
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.security.state\n=======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/security/state/package-summary \"View this page in Kotlin\") \\|Java\n\nThis 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.\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SecurityPatchState](/reference/androidx/security/state/SecurityPatchState) | Provides methods to access and manage security state information for various components within a system. |\n| [SecurityPatchState.DateBasedSecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.DateBasedSecurityPatchLevel) | Implementation of [SecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.SecurityPatchLevel) for a date-based patch level. |\n| [SecurityPatchState.GenericStringSecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.GenericStringSecurityPatchLevel) | Implementation of [SecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.SecurityPatchLevel) for a simple string patch level. |\n| [SecurityPatchState.SecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.SecurityPatchLevel) | Abstract base class representing a security patch level. |\n| [SecurityPatchState.VersionedSecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.VersionedSecurityPatchLevel) | Implementation of [SecurityPatchLevel](/reference/androidx/security/state/SecurityPatchState.SecurityPatchLevel) for a versioned patch level. |\n| [SecurityStateManagerCompat](/reference/androidx/security/state/SecurityStateManagerCompat) | This class is a wrapper around AOSP [android.os.SecurityStateManager](https://developer.android.com/reference/android/os/SecurityStateManager.html) service API added in SDK 35. |\n\nEnums\n-----\n\n|-----------------------------------------------------------------------------------------------|---------------------------------------|\n| [SecurityPatchState.Severity](/reference/androidx/security/state/SecurityPatchState.Severity) | Severity of reported security issues. |"]]