Java android.app.usage UsageStatsManager fields, constructors, methods, implement or subclass

Example usage for Java android.app.usage UsageStatsManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app.usage UsageStatsManager.

The text is from its open source code.

Field

intINTERVAL_DAILY
An interval type that spans a day.
intINTERVAL_YEARLY
An interval type that spans a year.
intINTERVAL_BEST
An interval type that will use the best fit interval for the given time range.

Method

UsageEventsqueryEvents(long beginTime, long endTime)
Query for events in the given time range.
ListqueryUsageStats(int intervalType, long beginTime, long endTime)
Gets application usage stats for the given time range, aggregated by the specified interval.