startCall

suspend fun startCall(address: String, mediaSettings: InitialCallMediaSettings = InitialCallMediaSettings(), engagementParameters: Map<String, String>? = null, isPriority: Boolean? = null): AxpResult<out Call>

Convenience method for starting a new conversation beginning with a call.

Parameters

address

Address of the party being called.

mediaSettings

Optional settings to control the media state for the beginning of the call.

engagementParameters

Optional additional AXP parameters for the call.

isPriority

Is the call a priority one?


fun startCall(address: String, responseHandler: ResponseHandler<Call>, mediaSettings: InitialCallMediaSettings = InitialCallMediaSettings(), engagementParameters: Map<String, String>? = null, isPriority: Boolean? = null)

Convenience method for starting a new conversation beginning with a call, using an asynchronous callback.

Parameters

address

Address of the party being called.

responseHandler

Callback to asynchronously receive the result of the operation.

mediaSettings

Optional settings to control the media state for the beginning of the call.

engagementParameters

Optional additional AXP parameters for the call.

isPriority

Is the call a priority one?