LightSensorReading class

Applies to Windows and Windows Phone

Represents an ambient light–sensor reading.

Syntax

Public NotInheritable Class LightSensorReading

Attributes

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

Members

The LightSensorReading class has these types of members:

Properties

The LightSensorReading class has these properties.

PropertyAccess typeDescription

IlluminanceInLux

Read-onlyGets the illuminance level in lux.

Timestamp

Read-onlyGets the time at which the sensor reported the reading.

 

Remarks

This object is accessed when you invoke the GetCurrentReading method; and, it is accessed when you retrieve the Reading property of the LightSensorReadingChangedEventArgs object in the event callback method..

Requirements

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

 

 

Show:
© 2014 Microsoft