LightSensor Members

LightSensor has the following members.

Public Properties

  Name Description
MinimumReportInterval Gets the minimum report interval supported by the sensor.
ReportInterval Gets or sets the current report interval for the ambient light sensor.

Public Methods

  Name Description
GetCurrentReading Gets the current ambient-light sensor reading.
  GetDefault Returns the default ambient-light sensor.

Public Events

  Name Description
ReadingChanged Occurs each time the ambient-light sensor reports a new sensor reading.

See also

Reference

LightSensor Class

Windows.Devices.Sensors Namespace