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 |
Sensor |
Gets the name of the sensor. |
Value |
Property to get the raw value of the sensor as an int |
To |
Property to return the raw value of the sensort as a string |
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 |