SensorManager.RegisterDynamicSensorCallback 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.
Overloads
RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback) |
Add a |
RegisterDynamicSensorCallback(SensorManager+DynamicSensorCallback, Handler) |
Add a |
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
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
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.