Characteristic Locus
Inherited Members ISamplingSensor<Illuminance>.UpdateInterval ISamplingSensor<Illuminance>.IsSampling ISamplingSensor<Illuminance>.StartUpdating(TimeSpan?) ISamplingSensor<Illuminance>.StopUpdating() ISensor<Illuminance>.Read()
Namespace Meadow.Peripherals.Sensors.Light
Assembly Meadow.Contracts.dll

Syntax

public interface ILightSensor : ISamplingSensor<Illuminance>, ISensor<Illuminance>

Properties

Illuminance

Last value read from the Light sensor.

Declaration
Illuminance? Illuminance { get; }

Property Value

Type Description
Illuminance?

Events

IlluminanceUpdated

Raised when a change in light is detected.

Declaration
event EventHandler<IChangeResult<Illuminance>> IlluminanceUpdated

Event Type

Type Description
EventHandler<IChangeResult<Illuminance>>