Windows Dev Center

LightSensorReadingChangedEventArgs class

Provides data for the ambient-light sensor reading-changed event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

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

Members

The LightSensorReadingChangedEventArgs class has these types of members:

Properties

The LightSensorReadingChangedEventArgs class has these properties.

PropertyAccess typeDescription

Reading

Read-onlyGets the current ambient light-sensor reading.

 

Remarks

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

None supported [Windows Store apps, desktop apps]

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

See also

Object

 

 

Show:
© 2015 Microsoft