UsageEvents.GetNextEvent(UsageEvents+Event) Method

Definition

Retrieve the next android.app.usage.UsageEvents.Event from the collection and put the resulting data into eventOut.

[Android.Runtime.Register("getNextEvent", "(Landroid/app/usage/UsageEvents$Event;)Z", "")]
public bool GetNextEvent (Android.App.Usage.UsageEvents.Event? eventOut);
[<Android.Runtime.Register("getNextEvent", "(Landroid/app/usage/UsageEvents$Event;)Z", "")>]
member this.GetNextEvent : Android.App.Usage.UsageEvents.Event -> bool

Parameters

eventOut
UsageEvents.Event

The android.app.usage.UsageEvents.Event object that will receive the next event data.

Returns

true if an event was available, false if there are no more events.

Attributes

Remarks

Java documentation for android.app.usage.UsageEvents.getNextEvent(android.app.usage.Event).

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