Partager via


ISurfaceControlInputReceiver.OnInputEvent(InputEvent) Method

Definition

When input events are batched, this is called at most once per frame.

[Android.Runtime.Register("onInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnInputEvent_Landroid_view_InputEvent_Handler:Android.Views.ISurfaceControlInputReceiverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public bool OnInputEvent (Android.Views.InputEvent e);
[<Android.Runtime.Register("onInputEvent", "(Landroid/view/InputEvent;)Z", "GetOnInputEvent_Landroid_view_InputEvent_Handler:Android.Views.ISurfaceControlInputReceiverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnInputEvent : Android.Views.InputEvent -> bool

Parameters

Returns

true if the event was handled, false otherwise.

Attributes

Remarks

When input events are batched, this is called at most once per frame. When non batched, this is called immediately for the input event.

Java documentation for android.view.SurfaceControlInputReceiver.onInputEvent(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