HelpWizard Pages ReferenceManual7 C/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Reference Manual C API (Events) == link=HelpWizard Pages ReferenceManual7/en|back * void '''pushEvent'''(char* ''payload'')<br>pushe…“) |
Cg (Diskussion | Beiträge) |
||
Zeile 10: | Zeile 10: | ||
* '''pushEventType_dataBytes'''(char* ''eventType'', unsigned char* ''payload'', int ''nBytes'')<br>pushes an event with given type and payload bytes onto the global (default) event queue. |
* '''pushEventType_dataBytes'''(char* ''eventType'', unsigned char* ''payload'', int ''nBytes'')<br>pushes an event with given type and payload bytes onto the global (default) event queue. |
||
* '''pushEventType_dataJSON'''(char* ''eventType'', jsonObject ''payload'')<br>pushes an event with given type and payload (which must be previously created using the JSON support functions). |
Version vom 8. März 2021, 17:29 Uhr
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.
- pushEventType_data(char* eventType, char* payload)
pushes an event with given type and payload string onto the global (default) event queue.
- pushEventType_dataBytes(char* eventType, unsigned char* payload, int nBytes)
pushes an event with given type and payload bytes onto the global (default) event queue.
- pushEventType_dataJSON(char* eventType, jsonObject payload)
pushes an event with given type and payload (which must be previously created using the JSON support functions).