string getPendingMessages(string deviceId)
This function can be used to return a JSON array of GUID strings of currently pending messages. Depending on your polling and sending rate, you may only see 0 to 2 messages at any point (max. returned is 500).
Parameters
Name | Description |
deviceId | The ID of the device. |
Return
A JSON formatted string containing an array of message GUID strings.