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) |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
⚫ | |||
[[Datei:arrowup.png|link=HelpWizard Pages ReferenceManual7/en|up]] |
|||
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual8 C/en|next]] |
|||
== Reference Manual C API (Events) == |
== Reference Manual C API (Events) == |
||
⚫ | |||
* void '''pushEvent'''(char* ''payload'')<br>pushes an event with type "default" onto the global (default) event queue. |
* void '''pushEvent'''(char* ''payload'')<br>pushes an event with type "default" onto the global (default) event queue. |
||
Zeile 7: | Zeile 9: | ||
* void '''pushEventType'''(char* ''eventType'')<br>pushes an event with given type, but no payload onto the global (default) event queue. |
* void '''pushEventType'''(char* ''eventType'')<br>pushes an event with given type, but no payload onto the global (default) event queue. |
||
* '''pushEventType_data'''(char* ''eventType'', char* ''payload'')<br>pushes an event with given type and payload string onto the global (default) event queue. |
* void '''pushEventType_data'''(char* ''eventType'', char* ''payload'')<br>pushes an event with given type and payload string onto the global (default) event queue. |
||
⚫ | |||
* void '''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). |
|||
[[Category: HelpWizard/en]] |
|||
⚫ | |||
[[Category: HelpWizard API/en]] |
|||
[[Category: HelpWizard API C/en]] |
Aktuelle Version vom 10. März 2021, 20:02 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.
- 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).