startAudioConferenceCall

suspend fun startAudioConferenceCall(    context: Context,     recipients: List<STWRecipient>,     conversationName: String?,     forOnlyAvailableRecipients: Boolean = false,     callPriority: Int = STWCallPriority.NORMAL): ApiResult<STWVCall>

Call this method to start a new Audio Conference call using recipients list

Return

a ApiResult.Success of STWVCall object if the call started successfully otherwise will return ApiResult.Error

Parameters

context

: the application context

recipients

: the recipients of the call using the data model STWRecipient

conversationName

: conversation name for the created group thread that will be associated to the call session

forOnlyAvailableRecipients

: the call will be start with on duty users only

callPriority

: the call priority , see STWCallPriority


suspend fun startAudioConferenceCall(    context: Context,     threadId: Int,     forOnlyAvailableRecipients: Boolean = false,     callPriority: Int = STWCallPriority.NORMAL): ApiResult<STWVCall>

Call this method to start a new Audio Conference call using a conversation id

Return

a ApiResult.Success of STWVCall object if the call started successfully or else will return ApiResult.Error if not

Parameters

context

: the application context

threadId

: The conversation id

forOnlyAvailableRecipients

: the call will be start with on duty users only

callPriority

: the call priority , see STWCallPriority