OrientationListener.OnSensorChanged(SensorType, Single[]) OrientationListener.OnSensorChanged(SensorType, Single[]) Method

Definition

[Android.Runtime.Register("onSensorChanged", "(I[F)V", "GetOnSensorChanged_IarrayFHandler")]
public virtual void OnSensorChanged (Android.Hardware.SensorType sensor, float[] values);
abstract member OnSensorChanged : Android.Hardware.SensorType * single[] -> unit
override this.OnSensorChanged : Android.Hardware.SensorType * single[] -> unit

Parameters

sensor
SensorType SensorType

The ID of the sensor being monitored

values
Single[]

The new values for the sensor.

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.

Applies to