onResult

abstract fun onResult(room: Room?, e: SendBirdException?)

A callback function that receives information about a room or an error from Sendbird server.

Since

1.6.0

Parameters

room

If the request is successful, it will not be null. Otherwise, it will be null.

e

If the request is failed, it will not be null. Otherwise, it will be null.