Android.Hardware.SensorEvent Class
This class represents a Android.Hardware.Sensor event and holds informations such as the sensor's type, the time-stamp, accuracy and of course the sensor's SensorEvent.Values.

See Also: SensorEvent Members

Syntax

[Android.Runtime.Register("android/hardware/SensorEvent", DoNotGenerateAcw=true)]
public class SensorEvent : Java.Lang.Object

Remarks

This class represents a Android.Hardware.Sensor event and holds informations such as the sensor's type, the time-stamp, accuracy and of course the sensor's SensorEvent.Values.

Definition of the coordinate system used by the SensorEvent API.

The coordinate-system is defined relative to the screen of the phone in its default orientation. The axes are not swapped when the device's screen orientation changes.

The X axis is horizontal and points to the right, the Y axis is vertical and points up and the Z axis points towards the outside of the front face of the screen. In this system, coordinates behind the screen have negative Z values.

Note: This coordinate system is different from the one used in the Android 2D APIs where the origin is in the top-left corner.

See Also

[Android Documentation]

Requirements

Namespace: Android.Hardware
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3