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 int
in Specifies the unique identifier of the device triggering the event

eventCode int
in A numerical code representing the specific event that has occurred

parameter1 int
in The first generic parameter associated with the event

parameter2 int
in The second generic parameter, providing further context or data about the event

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.