共用方式為


IWindowManager.UnregisterSurfaceControlInputReceiver(SurfaceControl) Method

Definition

Unregisters and cleans up the registered SurfaceControlInputReceiver for the specified token.

[Android.Runtime.Register("unregisterSurfaceControlInputReceiver", "(Landroid/view/SurfaceControl;)V", "GetUnregisterSurfaceControlInputReceiver_Landroid_view_SurfaceControl_Handler:Android.Views.IWindowManager, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void UnregisterSurfaceControlInputReceiver(Android.Views.SurfaceControl surfaceControl);
[<Android.Runtime.Register("unregisterSurfaceControlInputReceiver", "(Landroid/view/SurfaceControl;)V", "GetUnregisterSurfaceControlInputReceiver_Landroid_view_SurfaceControl_Handler:Android.Views.IWindowManager, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member UnregisterSurfaceControlInputReceiver : Android.Views.SurfaceControl -> unit
override this.UnregisterSurfaceControlInputReceiver : Android.Views.SurfaceControl -> unit

Parameters

surfaceControl
SurfaceControl

The SurfaceControl to remove and unregister the input channel for.

Attributes

Remarks

Unregisters and cleans up the registered SurfaceControlInputReceiver for the specified token.

Must be called on the same Looper thread to which was passed to the #registerBatchedSurfaceControlInputReceiver(InputTransferToken, SurfaceControl, Choreographer, SurfaceControlInputReceiver) or #registerUnbatchedSurfaceControlInputReceiver(InputTransferToken, SurfaceControl, Looper, SurfaceControlInputReceiver)

Java documentation for android.view.WindowManager.unregisterSurfaceControlInputReceiver(android.view.SurfaceControl).

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