ISensor Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for a sensor
C#
public interface ISensor
type ISensor = interface
Public Interface ISensor
- Derived
Port |
Sensor port |
Value |
Property to return the raw value of the sensor as an int |
Value |
Property to return the raw value of the sensort as a string |
Get |
Gets the name of the sensor. |
Number |
Numbers the of modes. |
Read |
Reads the sensor value as a string. |
Read |
Reads the sensor values as a raw int value |
Selected |
Returned the name of the selectd mode |
Select |
Selects the next mode. |
Select |
Selects the previous mode. |
Update |
To update sensors |
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |