Sensor Class
Definition
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
public class Sensor
type Sensor = class
Public Class Sensor
- Inheritance
-
Sensor
- Derived
Constructors
Sensor(Brick, SensorPort, SensorType) |
Creates a sensor |
Properties
IsConnected |
Gets true if the sensor is connected. |
Port |
Gets the Sensor port |
SensorName |
Gets the name of the sensor. |
SensorType |
Gets the sensor type |
Methods
OnPropertyChanged(String) |
Raises the on property changed event. |
OnPropertyUpdated(String) |
Raises the on property updated event. |
Events
PropertyChanged |
To notify a property has changed. It means the value has changed. |
PropertyUpdated |
To notify a property has been updated. It means the property has been updated regardeless of a change in its value. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for