call

open override fun call(cid: StreamCallId, onSuccess: (Call) -> Unit? = null, onError: (Exception) -> Unit? = null)

Get a call instance with the members list and call ID.

Note: Callbacks are posted on Dispatchers.Main dispatcher.

Parameters

cid

the call ID

onSuccess

callback where the Call object is returned

onError

callback when the Call was not returned.