Protocol

CXProviderDelegate

A collection of methods that are called by a telephony provider object.

Declaration

protocol CXProviderDelegate

Overview

The CXProviderDelegate protocol defines a set of methods that are called by an object that represents a telephony provider when the provider begins or resets, a transaction is requested, an action is performed, or an audio session changes its activation state.

Topics

Handling Provider Events

func providerDidBegin(CXProvider)

Called when the provider begins.

func providerDidReset(CXProvider)

Called when the provider is reset.

Required.

Determining the Execution of Transactions

func provider(CXProvider, execute: CXTransaction) -> Bool

Called when a transaction is executed by a call controller.

Handling Call Actions

func provider(CXProvider, perform: CXStartCallAction)

Called when the provider performs the specified start call action.

func provider(CXProvider, perform: CXAnswerCallAction)

Called when the provider performs the specified answer call action.

func provider(CXProvider, perform: CXEndCallAction)

Called when the provider performs the specified end call action.

func provider(CXProvider, perform: CXSetHeldCallAction)

Called when the provider performs the specified set held call action.

func provider(CXProvider, perform: CXSetMutedCallAction)

Called when the provider performs the specified set muted call action.

func provider(CXProvider, perform: CXSetGroupCallAction)

Called when the provider performs the specified set group call action.

func provider(CXProvider, perform: CXPlayDTMFCallAction)

Called when the provider performs the specified play DTMF (dual tone multifrequency) call action.

func provider(CXProvider, timedOutPerforming: CXAction)

Called when the provider performs the specified action times out.

Handling Changes to Audio Session Activation State

func provider(CXProvider, didActivate: AVAudioSession)

Called when the provider’s audio session is activated.

func provider(CXProvider, didDeactivate: AVAudioSession)

Called when the provider’s audio session is deactivated.

Relationships

Inherits From

See Also

First Steps

class CXProvider

An object that represents a telephony provider.

class CXProviderConfiguration

An encapsulation of the configuration of a provider object.