Android Guides | Samples

Android.Views.MotionEvent.PointerProperties Class

Transfer object for pointer properties.

See Also: MotionEvent+PointerProperties

Syntax

[Android.Runtime.Register("android/view/MotionEvent$PointerProperties", DoNotGenerateAcw=true)]
public sealed class MotionEvent.PointerProperties : Object

Remarks

Transfer object for pointer properties. Objects of this type can be used to specify the pointer id and tool type when creating new MotionEvent objects and to query pointer properties in bulk.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14

The members of Android.Views.MotionEvent.PointerProperties are listed below.

See Also: Object

Public Constructors

Creates a pointer properties object with an invalid pointer id.
Creates a pointer properties object as a copy of the contents of another pointer properties object.

Public Properties

IdInt32. The pointer id.
ToolTypeMotionEventToolType. The pointer tool type.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Clear()
Resets the pointer properties to their initial values.
CopyFrom(MotionEvent+PointerProperties)
Copies the contents of another pointer properties object.