request(_:completion:)
Requests that the actions in the specified transaction be asynchronously performed by the telephony provider.
Declaration
func request(_ transaction: CXTransaction, completion: @escaping @Sendable ((any Error)?) -> Void)func request(_ transaction: CXTransaction) async throwsParameters
- 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.