DeviceManager.onDeviceEvent Method¶
Module: DeviceManager
Definition¶
(C++) Notifies the device manager about specific events occurring for a device, such as state changes or significant operational updates
It’s a callback mechanism that facilitates communication from individual devices back to the central management system, ensuring the device manager remains informed about the operational status and events of managed devices.
int id3DevicesDeviceManager_OnDeviceEvent (
int deviceId,
int eventCode,
int parameter1,
int parameter2)
Parameters
deviceId
intin Specifies the unique identifier of the device triggering the eventeventCode
intin A numerical code representing the specific event that has occurredparameter1
intin The first generic parameter associated with the eventparameter2
intin The second generic parameter, providing further context or data about the event
Returns