Share via


SensorManager.RegisterDynamicSensorCallback Method

Definition

Overloads

RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback)

Add a android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback to receive dynamic sensor connection callbacks.

RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback, Handler)

Add a android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback to receive dynamic sensor connection callbacks.

RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback)

Add a android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback to receive dynamic sensor connection callbacks.

[Android.Runtime.Register("registerDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;)V", "GetRegisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Handler", ApiSince=24)]
public virtual void RegisterDynamicSensorCallback (Android.Hardware.SensorManager.DynamicSensorCallback? callback);
[<Android.Runtime.Register("registerDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;)V", "GetRegisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Handler", ApiSince=24)>]
abstract member RegisterDynamicSensorCallback : Android.Hardware.SensorManager.DynamicSensorCallback -> unit
override this.RegisterDynamicSensorCallback : 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.registerDynamicSensorCallback(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

RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback, Handler)

Add a android.hardware.SensorManager.DynamicSensorCallback DynamicSensorCallback to receive dynamic sensor connection callbacks.

[Android.Runtime.Register("registerDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;Landroid/os/Handler;)V", "GetRegisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Landroid_os_Handler_Handler", ApiSince=24)]
public virtual void RegisterDynamicSensorCallback (Android.Hardware.SensorManager.DynamicSensorCallback? callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("registerDynamicSensorCallback", "(Landroid/hardware/SensorManager$DynamicSensorCallback;Landroid/os/Handler;)V", "GetRegisterDynamicSensorCallback_Landroid_hardware_SensorManager_DynamicSensorCallback_Landroid_os_Handler_Handler", ApiSince=24)>]
abstract member RegisterDynamicSensorCallback : Android.Hardware.SensorManager.DynamicSensorCallback * Android.OS.Handler -> unit
override this.RegisterDynamicSensorCallback : Android.Hardware.SensorManager.DynamicSensorCallback * Android.OS.Handler -> unit

Parameters

callback
SensorManager.DynamicSensorCallback

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

handler
Handler
Attributes

Remarks

Java documentation for android.hardware.SensorManager.registerDynamicSensorCallback(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