System.Sensors.TCustomSensor

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTCustomSensor

Delphi

TCustomSensor = class abstract

C++

class PASCALIMPLEMENTATION TCustomSensor : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.Sensors.pas
System.Sensors.hpp
System.Sensors System.Sensors

Description

Provides properties that give information about the actual hardware or logical (software) sensor installed on your system, such as the name, description, category, model or manufacturer.

Every sensor class that you can use derives from the base class named TCustomSensor.

The CustomData and CustomProperty properties give access to the values of sensors-specific properties and data fields. A sensor property gives information about the capabilities of the sensor, as sensitivity, manufacturer, model number, range and if it is accessible without user permissions. A sensor data field gives the actual measurement values that the sensor is designed to determine. Data fields are accessed only after the user permissions are specifically granted by the user.

When the sensor sends data, the OnDataChanged event gets triggered, having the role of a generic notifier. It doesn't provide information on the properties that actually changed their values. Similarly, OnStateChanged is triggered when the State property changed its value.

See Also