IWindowManager.UnregisterSurfaceControlInputReceiver(SurfaceControl) 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.
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)
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.