onSuccess

abstract fun onSuccess(hmsMessage: HMSMessage)

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

Parameters

hmsMessage

is a fully formed HMSMessage that can be used to get the timestamp at which message was received at the server.