onResult

abstract fun onResult(templateName: String?, e: SendbirdException?)

A callback for when push template is got.

Since

3.0.12

Parameters

templateName

Name of template. The only valid values at the moment are SendbirdChat.PUSH_TEMPLATE_DEFAULT and SendbirdChat.PUSH_TEMPLATE_ALTERNATIVE. If SendbirdChat.PUSH_TEMPLATE_ALTERNATIVE is returned, the current User receives push notification with messages replaced by the content you've set on Sendbird Dashboard.

e

null if no error.