Stay organized with collections
Save and categorize content based on your preferences.
android.app.usage
Classes
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-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.app.usage\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/app/usage/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ConfigurationStats](/reference/kotlin/android/app/usage/ConfigurationStats) | Represents the usage statistics of a device [android.content.res.Configuration](../../content/res/Configuration.html#) for a specific time range. |\n| [EventStats](/reference/kotlin/android/app/usage/EventStats) | Contains usage statistics for an event type for a specific time range. |\n| [ExternalStorageStats](/reference/kotlin/android/app/usage/ExternalStorageStats) | Shared/external storage statistics for a [UserHandle](../../os/UserHandle.html#) on a single storage volume. |\n| [NetworkStats](/reference/kotlin/android/app/usage/NetworkStats) | Class providing enumeration over buckets of network usage statistics. |\n| [NetworkStatsManager](/reference/kotlin/android/app/usage/NetworkStatsManager) | Provides access to network usage history and statistics. |\n| [StorageStats](/reference/kotlin/android/app/usage/StorageStats) | Storage statistics for a UID, package, or [UserHandle](../../os/UserHandle.html#) on a single storage volume. |\n| [StorageStatsManager](/reference/kotlin/android/app/usage/StorageStatsManager) | Access to detailed storage statistics. |\n| [UsageEvents](/reference/kotlin/android/app/usage/UsageEvents) | A result returned from [android.app.usage.UsageStatsManager#queryEvents(long, long)](/reference/kotlin/android/app/usage/UsageStatsManager#queryEvents(kotlin.Long,%20kotlin.Long)) from which to read [android.app.usage.UsageEvents.Event](/reference/kotlin/android/app/usage/UsageEvents.Event) objects. |\n| [UsageEventsQuery](/reference/kotlin/android/app/usage/UsageEventsQuery) | An Object-Oriented representation for a [UsageEvents](/reference/kotlin/android/app/usage/UsageEvents) query. |\n| [UsageStats](/reference/kotlin/android/app/usage/UsageStats) | Contains usage statistics for an app package for a specific time range. |\n| [UsageStatsManager](/reference/kotlin/android/app/usage/UsageStatsManager) | Provides access to device usage history and statistics. |"]]