SensorEventCallback.OnAccuracyChanged(Sensor, SensorStatus) Method

Definition

Called when the accuracy of the registered sensor has changed.

[Android.Runtime.Register("onAccuracyChanged", "(Landroid/hardware/Sensor;I)V", "GetOnAccuracyChanged_Landroid_hardware_Sensor_IHandler", ApiSince=24)]
public virtual void OnAccuracyChanged (Android.Hardware.Sensor? sensor, Android.Hardware.SensorStatus accuracy);
[<Android.Runtime.Register("onAccuracyChanged", "(Landroid/hardware/Sensor;I)V", "GetOnAccuracyChanged_Landroid_hardware_Sensor_IHandler", ApiSince=24)>]
abstract member OnAccuracyChanged : Android.Hardware.Sensor * Android.Hardware.SensorStatus -> unit
override this.OnAccuracyChanged : Android.Hardware.Sensor * Android.Hardware.SensorStatus -> unit

Parameters

sensor
Sensor
accuracy
SensorStatus

Implements

Attributes

Remarks

Called when the accuracy of the registered sensor has changed.

Java documentation for android.hardware.SensorEventCallback.onAccuracyChanged(android.hardware.Sensor, int).

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