Instance Method

request(_:completion:)

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

Declaration

func request(_ transaction: CXTransaction, completion: @escaping (Error?) -> Void)

Parameters

transaction

A transaction that contains actions to be performed.

completion

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

error

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

See Also

Requesting Transactions

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

Requests that the transaction that contains the specified action 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.