HMSMessageResultListener

Listener to listen to updates from the SDK when sending a chat message

Functions

Link copied to clipboard
abstract fun onError(error: HMSException)

Called when the SDK has encountered an error

Link copied to clipboard
abstract fun onSuccess(hmsMessage: HMSMessage)

This is called on successful receipt of the message at the server