onResult

abstract fun onResult(liveEvents: List<LiveEvent>?, e: SendbirdException?)

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

Since

1.0.0

Parameters

liveEvents

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

e

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