Instance Method

provider:executeTransaction:

Called when a transaction is executed by a call controller.

Declaration

- (BOOL)provider:(CXProvider *)provider executeTransaction:(CXTransaction *)transaction;

Parameters

provider

The telephony provider.

Return Value

YES if the transaction was handled; otherwise NO.

Discussion

Most delegates should not need to provide an implementation for this method. However, a delegate can implement this method to customize how transactions are handled. This method returns YES to indicate that the custom implementation handled the transaction and returns NO to have the provider execute the transaction normally—as if the delegate did not implement this method. For example, given a transaction consisting of a CXSetHeldCallAction object and a CXSetGroupCallAction object, the delegate may override this method to inject a 30 second wait and play hold music to the caller.