LightSensorReading LightSensorReading LightSensorReading Class

Definition

Represents an ambient light–sensor reading.

public sealed class LightSensorReading : ILightSensorReadingpublic sealed class LightSensorReading : ILightSensorReadingPublic NotInheritable Class LightSensorReading Implements ILightSensorReading
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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..

Properties

IlluminanceInLux IlluminanceInLux IlluminanceInLux

Gets the illuminance level in lux.

public float IlluminanceInLux { get; }public float IlluminanceInLux { get; }Public ReadOnly Property IlluminanceInLux As float
Value
float float float

The illuminance level in lux.

Attributes

Timestamp Timestamp Timestamp

Gets the time at which the sensor reported the reading.

public DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset
Value
DateTime DateTime DateTime

The time at which the sensor reported the reading.

Attributes