SimpleOrientationSensorOrientationChangedEventArgs class
TOC
Collapse the table of content
Expand the table of content

SimpleOrientationSensorOrientationChangedEventArgs class

Provides data for the sensor reading–changed event.

Syntax


public ref class SimpleOrientationSensorOrientationChangedEventArgs sealed 

Members

The SimpleOrientationSensorOrientationChangedEventArgs class has these types of members:

Properties

The SimpleOrientationSensorOrientationChangedEventArgs class has these properties.

PropertyAccess typeDescription

Orientation

Read-only

Gets the current sensor orientation.

Timestamp

Read-only

Gets the time of the current sensor reading.

 

Remarks

This object is accessed when your app supports the OrientationChanged event.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2016 Microsoft