Contents

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  @Sendable ((any Error)?) -> Void)
func requestTransaction(with action: CXAction) async throws

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.

Discussion

See Also

Requesting Transactions