Pelco Developer Network (PDN)

What event type is returned by the event classes in SDK 3.4 when a device status has changed?

/// @brief Not used.
ET_FIRST = 0,
/// @brief Occurs when the Device goes online or offline.
ET_ONLINE = 0,
/// @brief Occurs when the device Property has changed.
ET_PROPERTY_CHANGED = 1,
/// @brief Occurs when the Camera starts or stops detecting motion.
ET_MOTION = 2,
/// @brief Occurs when the Camera video analytics signals the start or stop of an analytic event.
ET_VIDEO_ANALYTICS = 3,
/// @brief Occurs when diagnostic events are generated by a Device, for example, a temperature alarm, video loss alarm.
ET_DIAGNOSTIC = 4,
///@brief Occurs when the switch opens or closes.
ET_PHYSICAL = 5,

/// @brief Occurs when the state changes in the Pelco SDK process.
/// @details The Pelco SDK can trigger the following events:
/// - TERMINATING The SDK process is terminating.
/// - COLLECTION_STARTED The SDK process has started collecting. Typically, when the SDK process starts up for the first time, it collects information
/// about systems and their associated devices and stores the information on the local system in a device cache, called PelcoDeviceCache.db.
/// - COLLECTION_COMPLETED The SDK process has completed the process of collecting system and device information.
/// - COLLECTION_FAILED The SDK process was unable to create a device cache with information about systems and devices.
/// - SYSTEM_REMOVED The SDK removed a system from the system collection. When a system is removed all its associated devices are removed as well.
ET_SDK_STATE = 6,

/// @brief Stream lifetime and status events.
ET_STREAM = 7,

///@brief For internal use.
ET_NUM_EVENTS = 8,