MotionEvent.EdgeFlags Property

Definition

Returns a bitfield indicating which edges, if any, were touched by this MotionEvent. -or- Sets the bitfield indicating which edges, if any, were touched by this MotionEvent.

public Android.Views.Edge EdgeFlags { [Android.Runtime.Register("getEdgeFlags", "()I", "")] get; [Android.Runtime.Register("setEdgeFlags", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getEdgeFlags", "()I", "")>]
[<set: Android.Runtime.Register("setEdgeFlags", "(I)V", "")>]
member this.EdgeFlags : Android.Views.Edge with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns a bitfield indicating which edges, if any, were touched by this MotionEvent. For touch events, clients can use this to determine if the user's finger was touching the edge of the display.

This property is only set for #ACTION_DOWN events.

Java documentation for android.view.MotionEvent.getEdgeFlags().

Property setter documentation:

Sets the bitfield indicating which edges, if any, were touched by this MotionEvent.

Java documentation for android.view.MotionEvent.setEdgeFlags(int).

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

See also