CXProvider
An object that represents a telephony provider.
Declaration
class CXProviderMentioned in
Overview
A CXProvider object is responsible for reporting out-of-band notifications that occur to the system. A VoIP app should create only one instance of CXProvider and store it for use globally. A CXProvider object is initialized with a CXProviderConfiguration object to specify the behavior and capabilities of calls. Each provider can specify an object conforming to the CXProviderDelegate protocol to respond to events, such as the call starting, the call being put on hold, or the provider’s audio session being activated.
Subclassing Notes
CXProvider is not intended for subclassing.
Topics
Creating New Providers
Setting the Delegate
Accessing Provider Attributes
Accessing Pending Transaction and Call Actions
Reporting Calls
reportNewIncomingCall(with:update:completion:)reportNewIncomingVoIPPushPayload(_:completion:)com.apple.developer.usernotifications.filteringreportOutgoingCall(with:startedConnectingAt:)reportOutgoingCall(with:connectedAt:)reportCall(with:updated:)reportCall(with:endedAt:reason:)