編輯

共用方式為


CallKit Namespace

The CallKit namespace allows developers to integrate VoIP calling with the native iOS phone UX.

Classes

CXAction

Base class for CallKit actions, such as those taken when a call begins or ends, a call is put on hold, and so on.

CXAnswerCallAction

Contains the information that the application needs in order to answer a call at the user's request.

CXCall

Represents a CallKit call.

CXCallAction

Base class for objects that contain the information that is needed to perform an action on a call.

CXCallController

Informs the system about in-band user actions, such as reqeusts to start a call, or to put a call on hold.

CXCallDirectoryExtensionContext

Extension context for a call directory.

CXCallDirectoryExtensionContextDelegate
CXCallDirectoryManager

Manages a call directory extension.

CXCallDirectoryProvider

Call directory extension provider.

CXCallObserver

Observer for the calls in a CXCallController.

CXCallObserverDelegate

Delegate object that responds to call changes.

CXCallUpdate

Contains values with which to update a call's parameters.

CXEndCallAction

Contains the information that the application needs in order to end a call.

CXErrorCodeCallDirectoryManagerErrorExtensions

Extension methods for the CallKit.CXErrorCodeCallDirectoryManagerError enumeration.

CXErrorCodeExtensions

Extension methods for the CallKit.CXErrorCode enumeration.

CXErrorCodeIncomingCallErrorExtensions

Extension methods for the CallKit.CXErrorCodeIncomingCallError enumeration.

CXErrorCodeRequestTransactionErrorExtensions

Extension methods for the CallKit.CXErrorCodeRequestTransactionError enumeration.

CXHandle

A unique identifier for a VOIP user.

CXPlayDtmfCallAction

Contains the information that is needed to play a DTMF signal that represents a touch tone.

CXProvider

Reports external (out-of-band) events, such as incoming calls, to the system, and receives internal (in-band) user action events from the system.

CXProviderConfiguration

Contains values that control miscellaneous call properties, such as the ringtone, whether the call supports video, the maximum number of callers, and so on.

CXProviderDelegate
CXProviderDelegate_Extensions

Extension methods to the ICXProviderDelegate interface to support all the methods from the CXProviderDelegate protocol.

CXSetGroupCallAction

Contains the data that are needed to join a group call.

CXSetHeldCallAction

Contains the information that is needed to put a call on hold or take a call off hold.

CXSetMutedCallAction

Contains the information that is necessary to mute or unmute a call.

CXStartCallAction

Contains the information that is necessary to start a call.

CXTransaction

Runs a group of Call Kit actions atomically.

Interfaces

ICXCallDirectoryExtensionContextDelegate
ICXCallObserverDelegate

Interface that represents the required methods (if any) of the CXCallObserverDelegate protocol.

ICXProviderDelegate

Interface representing the required methods (if any) of the protocol CXProviderDelegate.

Enums

CXCallDirectoryEnabledStatus

Enumerates call directory states.

CXCallEndedReason

Enumerates reasons that calls can end.

CXErrorCode

Enumerates Call Kit errors.

CXErrorCodeCallDirectoryManagerError

Enumerates directory manager errors.

CXErrorCodeIncomingCallError

Enumerates incoming call errors.

CXErrorCodeRequestTransactionError

Enumerates transaction request errors.

CXHandleType

Enumerates handle types.

CXPlayDtmfCallActionType

Enumerates DTMF play action types.