Example usage for Java android.app.usage UsageStats fields, constructors, methods, implement or subclass
The text is from its open source code.
long | getLastTimeUsed() Get the last time this package was used, measured in milliseconds since the epoch. |
String | getPackageName() |
long | getTotalTimeInForeground() Get the total time this package spent in the foreground, measured in milliseconds. |