ISensorListener ISensorListener Interface

Definition

Warning

This API is now obsolete.

Used for receiving notifications from the SensorManager when sensor values have changed.

[System.Obsolete("This class is obsoleted in this android platform")]
[Android.Runtime.Register("android/hardware/SensorListener", "", "Android.Hardware.ISensorListenerInvoker", ApiSince=1)]
public interface ISensorListener : Android.Runtime.IJavaObject, IDisposable
type ISensorListener = interface
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

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.

Methods

OnAccuracyChanged(SensorType, SensorStatus) OnAccuracyChanged(SensorType, SensorStatus)

Called when the accuracy of a sensor has changed.

OnSensorChanged(SensorType, Single[]) OnSensorChanged(SensorType, Single[])

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to