InputManager.VerifyInputEvent(InputEvent) Method

Definition

Verify the details of an android.view.InputEvent that came from the system.

[Android.Runtime.Register("verifyInputEvent", "(Landroid/view/InputEvent;)Landroid/view/VerifiedInputEvent;", "", ApiSince=30)]
public Android.Views.VerifiedInputEvent? VerifyInputEvent (Android.Views.InputEvent e);
[<Android.Runtime.Register("verifyInputEvent", "(Landroid/view/InputEvent;)Landroid/view/VerifiedInputEvent;", "", ApiSince=30)>]
member this.VerifyInputEvent : Android.Views.InputEvent -> Android.Views.VerifiedInputEvent

Parameters

Returns

android.view.VerifiedInputEvent, which is a subset of the provided android.view.InputEventnull if the event could not be verified.

Attributes

Remarks

Verify the details of an android.view.InputEvent that came from the system. If the event did not come from the system, or its details could not be verified, then this will return null. Receiving null does not mean that the event did not originate from the system, just that we were unable to verify it. This can happen for a number of reasons during normal operation.

Java documentation for android.hardware.input.InputManager.verifyInputEvent(android.view.InputEvent).

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