System.Sensors.TSensorState
Delphi
TSensorState = (Added, Removed, Initializing, Ready, NoData, AccessDenied, Error);
C++
enum class DECLSPEC_DENUM TSensorState : unsigned char { Added, Removed, Initializing, Ready, NoData, AccessDenied, Error };
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | System.Sensors.pas System.Sensors.hpp | System.Sensors | System.Sensors | 
Description
Type to specify a state of a system sensor.
Instances of this type may have any of the following values:
| Item | Description | 
|---|---|
| 
 | The sensor is available. | 
| 
 | The sensor is not available. | 
| 
 | The sensor is available, but it is not yet ready to provide data. | 
| 
 | The sensor is available and it can provide data. | 
| 
 | The sensor is available, but it is unable to provide data. Unlike  | 
| 
 | Your application has not been granted access to the sensor. | 
| 
 | A major error prevents the sensor from providing data at the moment. Whether this error is or is not recoverable is unknown. |