ActivityCallOperations

Functions

Link copied to clipboard
abstract fun accept(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun call(cid: StreamCallId, onSuccess: (Call) -> Unit? = null, onError: (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun cancel(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun create(call: Call, ring: Boolean, members: List<String>, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun end(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun get(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun join(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun leave(call: Call, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)
Link copied to clipboard
abstract fun reject(call: Call, reason: RejectReason? = null, onSuccess: suspend (Call) -> Unit? = null, onError: suspend (Exception) -> Unit? = null)