Click or drag to resize
IAnalogSensor Interface
The interface for a generic analog sensor.

Namespace: Microsoft.IoT.DeviceCore.Sensors
Assembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IAnalogSensor : IDevice, 
	IClosable

The IAnalogSensor type exposes the following members.

Methods
  NameDescription
Public methodClose
Releases system resources that are exposed by a Windows Runtime object.
(Inherited from IClosable.)
Public methodGetCurrentReading
Gets the current sensor reading.
Top
Events
  NameDescription
Public eventReadingChanged
Occurs each time the analog sensor reports a new reading.
Top
See Also