| FRAMES NO FRAMES | |||||||
| |||||||
| SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION | ||||||
| Field summary | |
|---|---|
string | transportIDThe transport identifier (e.g., "mqtt"). |
string | clientIDThe client identifier from the transport. |
string | topicThe topic or destination identifier. |
dictionary<string, any> | transportPropertiesTransport-specific properties as key-value pairs. |
float | timeThe timestamp when the message was received from the device. |
| Action summary | |
|---|---|
void | encodeJSONPayload(any object)Converts an object to a JSON string and stores it as the payload. |
string | getBinaryBase64Payload()Returns the payload encoded as a Base64 string. |
string | getStringPayload()Decodes the payload as a UTF-8 string. |
any | parseJSONPayload()Decodes the payload as a UTF-8 string, then parses that string as JSON. |
void | setBinaryBase64Payload(string base64)Sets the payload using a Base64 string. |
void | setStringPayload(string payload)Stores a UTF-8 string as the payload. |
| Field detail |
|---|
string clientIDThe client identifier from the transport.
float timeThe timestamp when the message was received from the device.
string topicThe topic or destination identifier.
string transportIDThe transport identifier (e.g., "mqtt").
dictionary<string, any> transportPropertiesTransport-specific properties as key-value pairs.
| Action detail |
|---|
void encodeJSONPayload(any object)Converts an object to a JSON string and stores it as the payload.
string getBinaryBase64Payload()Returns the payload encoded as a Base64 string.
string getStringPayload()Decodes the payload as a UTF-8 string.
any parseJSONPayload()Decodes the payload as a UTF-8 string, then parses that string as JSON.
void setBinaryBase64Payload(string base64)Sets the payload using a Base64 string.
void setStringPayload(string payload)Stores a UTF-8 string as the payload.
| FRAMES NO FRAMES | |||||||
| |||||||
| SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION | ||||||