Android.App.Usage.UsageStatsManager.QueryEvents Method
Query for events in the given time range.

Syntax

[Android.Runtime.Register("queryEvents", "(JJ)Landroid/app/usage/UsageEvents;", "")]
public UsageEvents QueryEvents (long beginTime, long endTime)

Parameters

beginTime
The inclusive beginning of the range of events to include in the results.
endTime
The exclusive end of the range of events to include in the results.

Returns

Documentation for this section has not yet been entered.

Remarks

Query for events in the given time range. Events are only kept by the system for a few days.

NOTE: The last few minutes of the event log will be truncated to prevent abuse by applications.

[Android Documentation]

Requirements

Namespace: Android.App.Usage
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0