UsageStatsManager.QueryEvents(Int64, Int64) UsageStatsManager.QueryEvents(Int64, Int64) Method

Definition

Query for events in the given time range.

[Android.Runtime.Register("queryEvents", "(JJ)Landroid/app/usage/UsageEvents;", "")]
public Android.App.Usage.UsageEvents QueryEvents (long beginTime, long endTime);
member this.QueryEvents : int64 * int64 -> Android.App.Usage.UsageEvents

Parameters

beginTime
Int64 Int64

The inclusive beginning of the range of events to include in the results.

endTime
Int64 Int64

The exclusive end of the range of events to include in the results.

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to