Udostępnij za pośrednictwem


OrientationSensor Class

Definition

Device orientation (quaternion) relative to magnetic fields.

public static class OrientationSensor
Inheritance
System.Object
OrientationSensor

Properties

IsMonitoring

Gets of currently monitoring the sensor.

Methods

Start(SensorSpeed)

Starts monitoring orientation sensor with specific speed.

Stop()

Stops monitoring.

Events

ReadingChanged

Event triggered when reading of sensor changes.

Applies to