OrientationListener.OnAccuracyChanged(SensorType, SensorStatus) Method

Definition

Caution

deprecated

Called when the accuracy of a sensor has changed.

[Android.Runtime.Register("onAccuracyChanged", "(II)V", "GetOnAccuracyChanged_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void OnAccuracyChanged (Android.Hardware.SensorType sensor, Android.Hardware.SensorStatus accuracy);
[<Android.Runtime.Register("onAccuracyChanged", "(II)V", "GetOnAccuracyChanged_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member OnAccuracyChanged : Android.Hardware.SensorType * Android.Hardware.SensorStatus -> unit
override this.OnAccuracyChanged : Android.Hardware.SensorType * Android.Hardware.SensorStatus -> unit

Parameters

sensor
SensorType

The ID of the sensor being monitored

accuracy
SensorStatus

The new accuracy of this sensor.

Implements

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