Skip to content

Most visited

Recently visited

navigation
added in API level 21

android.app.usage

Classes

ConfigurationStats Represents the usage statistics of a device Configuration for a specific time range. 
ExternalStorageStats Shared/external storage statistics for a UserHandle on a single storage volume. 
NetworkStats Class providing enumeration over buckets of network usage statistics. 
NetworkStats.Bucket Buckets are the smallest elements of a query result. 
NetworkStatsManager Provides access to network usage history and statistics. 
NetworkStatsManager.UsageCallback Base class for usage callbacks. 
StorageStats Storage statistics for a UID, package, or UserHandle on a single storage volume. 
StorageStatsManager Access to detailed storage statistics. 
UsageEvents A result returned from queryEvents(long, long) from which to read UsageEvents.Event objects. 
UsageEvents.Event An event representing a state change for a component. 
UsageStats Contains usage statistics for an app package for a specific time range. 
UsageStatsManager Provides access to device usage history and statistics. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.