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

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

Introduction

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

The text is from its open source code.

Method

longgetLastTimeUsed()
Get the last time this package was used, measured in milliseconds since the epoch.
StringgetPackageName()
longgetTotalTimeInForeground()
Get the total time this package spent in the foreground, measured in milliseconds.