AppWidgetEvent.GetClickedIds 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.
This returns the set of View IDs of the views which have been clicked during the event time range.
[Android.Runtime.Register("getClickedIds", "()[I", "", ApiSince=36)]
public int[]? GetClickedIds();
[<Android.Runtime.Register("getClickedIds", "()[I", "", ApiSince=36)>]
member this.GetClickedIds : unit -> int[]
Returns
An array of view IDs for clicks during the event's time range, or null if no array was recorded. A custom app widget event tag replaces the view ID when one is set.
- Attributes
Remarks
This returns the set of View IDs of the views which have been clicked during the event time range. Use android.widget.RemoteViews#setAppWidgetEventTag(int, int) to set a custom integer tag on a view for reporting clicks. If the tag is set, it will be used here instead of the View ID.
Java documentation for android.appwidget.AppWidgetEvent.getClickedIds().
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.