Share via


SensorEventCallback.OnSensorChanged(SensorEvent) Method

Definition

Called when sensor values have changed.

[Android.Runtime.Register("onSensorChanged", "(Landroid/hardware/SensorEvent;)V", "GetOnSensorChanged_Landroid_hardware_SensorEvent_Handler", ApiSince=24)]
public virtual void OnSensorChanged (Android.Hardware.SensorEvent? e);
[<Android.Runtime.Register("onSensorChanged", "(Landroid/hardware/SensorEvent;)V", "GetOnSensorChanged_Landroid_hardware_SensorEvent_Handler", ApiSince=24)>]
abstract member OnSensorChanged : Android.Hardware.SensorEvent -> unit
override this.OnSensorChanged : Android.Hardware.SensorEvent -> unit

Parameters

Implements

Attributes

Remarks

Called when sensor values have changed.

Java documentation for android.hardware.SensorEventCallback.onSensorChanged(android.hardware.SensorEvent).

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