InputManager.VerifyInputEvent(InputEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.InputEvent
null
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.
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.