onResult

abstract fun onResult(rooms: List<Room>, e: SendBirdException?)

A callback function that receives information about a list of rooms or an error from Sendbird server.

Since

1.7.0

Parameters

rooms

Retrieved Rooms. If an error occurred, the list will be empty.

e

If an error occurred, it will be not-null. Otherwise, null.