Share via


SensorManager.UnregisterDynamicSensorCallback Method

Definition

Remove a android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback to stop sending dynamic sensor connection events to that callback.

[Android.Runtime.Register("unregisterDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;)V", "GetUnregisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Handler", ApiSince=24)]
public virtual void UnregisterDynamicSensorCallback (Android.Hardware.SensorManager.DynamicSensorCallback? callback);
[<Android.Runtime.Register("unregisterDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;)V", "GetUnregisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Handler", ApiSince=24)>]
abstract member UnregisterDynamicSensorCallback : Android.Hardware.SensorManager.DynamicSensorCallback -> unit
override this.UnregisterDynamicSensorCallback : Android.Hardware.SensorManager.DynamicSensorCallback -> unit

Parameters

callback
SensorManager.DynamicSensorCallback

An object that implements the android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback interface for receiving callbacks.

Attributes

Remarks

Java documentation for android.hardware.SensorManager.unregisterDynamicSensorCallback(android.hardware.DynamicSensorCallback).

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