HelpWizard Pages ReferenceManual7 C/en
Zur Navigation springen
Zur Suche springen
Reference Manual C API (Events)[Bearbeiten]
- void pushEvent(char* payload)
pushes an event with type "default" onto the global (default) event queue.
- void pushEventType(char* eventType)
pushes an event with given type, but no payload onto the global (default) event queue.
- void pushEventType_data(char* eventType, char* payload)
pushes an event with given type and payload string onto the global (default) event queue.
- void pushEventType_dataBytes(char* eventType, unsigned char* payload, int nBytes)
pushes an event with given type and payload bytes onto the global (default) event queue.
- void pushEventType_dataJSON(char* eventType, jsonObject payload)
pushes an event with given type and payload (which must be previously created using the JSON support functions).