ISensorListener.OnAccuracyChanged(SensorType, SensorStatus) 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.
Caution
deprecated
Called when the accuracy of a sensor has changed.
[Android.Runtime.Register("onAccuracyChanged", "(II)V", "GetOnAccuracyChanged_IIHandler:Android.Hardware.ISensorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnAccuracyChanged (Android.Hardware.SensorType sensor, Android.Hardware.SensorStatus accuracy);
[<Android.Runtime.Register("onAccuracyChanged", "(II)V", "GetOnAccuracyChanged_IIHandler:Android.Hardware.ISensorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member 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.
- Attributes
Remarks
Called when the accuracy of a sensor has changed. See android.hardware.SensorManager SensorManager
for details.
Java documentation for android.hardware.SensorListener.onAccuracyChanged(int, 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.