Gets the default simple orientation sensor.
public:
SimpleOrientation GetCurrentOrientation()
Type: SimpleOrientation
The default simple orientation sensor.
An application may use this method to poll the sensor for the current reading as an alternative to registering a OrientationChanged event handler. This would be the preferred alternative for an application that updates its user interface at a specific frame rate.
Namespace: Windows.Devices.Sensors
Metadata: windows.winmd