publish Message
abstract fun publishMessage(jsonData: String, callback: SuccessListener<SyncStreamJava.Message>): CancellationToken
Publish a new message to this SyncStreamJava.
Return
CancellationToken which allows to cancel network request.
Parameters
json Data
Contains the payload of the dispatched message as a serialised JSON object. Maximum size: 4KB.
callback
Async result listener. See SuccessListener.