Język

AppWidgetEvent.Position Property

Definition

This rect with describes the global coordinates of the widget at the end of the event time range.

public Android.Graphics.Rect? Position { [Android.Runtime.Register("getPosition", "()Landroid/graphics/Rect;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getPosition", "()Landroid/graphics/Rect;", "", ApiSince=36)>]
member this.Position : Android.Graphics.Rect

Property Value

The widget's bounds in global coordinates at the end of the event's time range, or null if no position was recorded.

Attributes

Remarks

This rect with describes the global coordinates of the widget at the end of the event time range.

Java documentation for android.appwidget.AppWidgetEvent.getPosition().

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