startEmergencyCall

suspend fun startEmergencyCall(    context: Context,     conversationName: String?,     floorRequestOnInvite: Boolean = false,     callPriority: Int,     onEmergencyFallback: FallbackCallback? = null): ApiResult<STWVCall>

Call this method to start a new Emergency PTT call with preconfigured recipients

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

conversationName

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

floorRequestOnInvite

: take the floor as soon as user joined the call

callPriority

: the call priority , see STWCallPriority