create

open fun create(call: Call, ring: Boolean, members: List<String>, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)

Create (or get) the call.

Parameters

call

the call object

ring

if the call should ring for other participants (sends push)

members

members of the call

onSuccess

invoked when operation is sucessfull

onError

invoked when operation failed.