Share via


IOrientationSensor Interface

Definition

The OrientationSensor API lets you monitor the orientation of a device in three dimensional space.

public interface class IOrientationSensor
public interface IOrientationSensor
type IOrientationSensor = interface
Public Interface IOrientationSensor
Derived

Properties

Name Description
IsMonitoring

Gets a value indicating whether the orientation sensor is actively being monitored.

IsSupported

Gets a value indicating whether reading the orientation sensor is supported on this device.

Methods

Name Description
Start(SensorSpeed)

Start monitoring for changes to the orientation.

Stop()

Stop monitoring for changes to the orientation.

Events

Name Description
ReadingChanged

Occurs when the orientation reading changes.

Applies to