Instance Method

requestTransaction(with:completion:)

Requests that the transaction that contains the specified action be asynchronously performed by the telephony provider.

Declaration

func requestTransaction(with action: CXAction, completion: @escaping (Error?) -> Void)

Parameters

action

The telephony action associated with a call object.

completion

Code to be executed after the transaction is completed. The callback is executed on the queue specified when the call controller was initialized.

transaction

The requested transaction.

error

If an error occurred, an error object indicating how the transaction failed, otherwise nil.

See Also

Requesting Transactions

func request(CXTransaction, completion: (Error?) -> Void)

Requests that the actions in the specified transaction be asynchronously performed by the telephony provider.

func requestTransaction(with: [CXAction], completion: (Error?) -> Void)

Requests that the transaction that contains the specified actions be asynchronously performed by the telephony provider.