AppWidgetManager.QueryAppWidgetEvents(Int64, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query for app widget interaction events in the given time range.
[Android.Runtime.Register("queryAppWidgetEvents", "(JJ)Ljava/util/List;", "GetQueryAppWidgetEvents_JJHandler", ApiSince=36)]
public virtual System.Collections.Generic.IList<Android.Appwidget.AppWidgetEvent> QueryAppWidgetEvents(long beginTime, long endTime);
[<Android.Runtime.Register("queryAppWidgetEvents", "(JJ)Ljava/util/List;", "GetQueryAppWidgetEvents_JJHandler", ApiSince=36)>]
abstract member QueryAppWidgetEvents : int64 * int64 -> System.Collections.Generic.IList<Android.Appwidget.AppWidgetEvent>
override this.QueryAppWidgetEvents : int64 * int64 -> System.Collections.Generic.IList<Android.Appwidget.AppWidgetEvent>
Parameters
- beginTime
- Int64
The inclusive beginning of the range of events to include in the results.
Defined in terms of "Unix time", see
java.lang.System#currentTimeMillis.
- endTime
- Int64
The exclusive end of the range of events to include in the results. Defined
in terms of "Unix time", see java.lang.System#currentTimeMillis.
Returns
An array of AppWidgetEvent objects.
- Attributes
Remarks
Query for app widget interaction events in the given time range. Events are only kept by the system for a few days. This method only returns events for widgets provided by the calling package and does not require any additional permissions.
Java documentation for android.appwidget.AppWidgetManager.queryAppWidgetEvents(long, long).
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.