IoT::Devices

class Trigger

File Information

Library: IoT/Devices
Package: Devices
Header: IoT/Devices/Trigger.h

Description

The base class for triggers, such as push buttons or motion detectors.

In addition to the methods defined in this interface, a Trigger implementation should expose the following properties:

  • displayState (string, optional): The current state of the trigger, formatted as string for display purposes.

Inheritance

Direct Base Classes: BooleanSensor

All Base Classes: BooleanSensor, Device

Member Summary

Inherited Functions: getFeature, getPropertyBool, getPropertyDouble, getPropertyInt, getPropertyInt16, getPropertyInt64, getPropertyString, getPropertyTimestamp, hasFeature, hasProperty, setFeature, setPropertyBool, setPropertyDouble, setPropertyInt, setPropertyInt16, setPropertyInt64, setPropertyString, setPropertyTimestamp, state

Constructors

Trigger

Trigger();

Creates the Trigger.

Destructor

~Trigger virtual

~Trigger();

Destroys the Trigger.

Securely control IoT edge devices from anywhere   Connect a Device