Język

MotionEvent.Pressure Property

Definition

#getPressure(int) for the first pointer index (may be an arbitrary pointer identifier).

public float Pressure { [Android.Runtime.Register("getPressure", "()F", "")] get; }
[<get: Android.Runtime.Register("getPressure", "()F", "")>]
member this.Pressure : single

Property Value

The normalized pressure for pointer index 0; calibration can produce values greater than 1.

Attributes

Remarks

#getPressure(int) for the first pointer index (may be an arbitrary pointer identifier).

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

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