IEventSubscriber
This interface invokes a callback function to receive data and/or a detailed response. To register for the event(s), call the subscribeAll() function with the name of a class that implements the IEventSubscriber interface.
OnEvent
This function sets a callback function to notify when the device has an ARQC message send to the host.
void OnEvent(
EventType eventType,
IData data)Parameter
Description
eventType
An enumeration for EventType. This indicates the event triggered by the device.
data
Contains the data for the event. The payload is dependent on the event type. Builder classes associated with the event type may be used to parse the data into an assciated data object. Details for Builder classes are in the section Data Classes.
Return Value: None
Last updated

