Coap.getResponsePayload()
DESCRIPTION
Get response payload
DECLARATION
byte[] getResponsePayload()
THROWS EXCEPTIONS
NabtoRuntimeException:
- with error code
NO_DATA
if the response does not include a content format. NabtoRuntimeException:
- with error code
INVALID_STATE
if the response is not available.
RETURNS
The payload. If the response has no payload, the empty buffer is returned.