Class

CXCallAction

A programmatic interface for objects that represent a telephony action associated with a call object.

Declaration

@interface CXCallAction : CXAction

Overview

The CallKit framework provides the following concrete CXCallAction subclasses.

Table 1

Apple-provided concrete CXCallAction subclasses

CXCallAction subclass

Description

CXAnswerCallAction

Answers an incoming call.

CXStartCallAction

Initiates an outgoing call.

CXEndCallAction

Ends a call.

CXSetHeldCallAction

Places a call on hold or removes a call from hold.

CXSetGroupCallAction

Groups a call with another call or removes a call from a group.

CXSetMutedCallAction

Mutes or unmutes a call.

CXPlayDTMFCallAction

Plays a DTMF (dual tone multifrequency) tone sequence on a call.

To perform one or more actions, you add them to a new CXTransaction object and pass the transaction to an instance of CXCallController using the requestTransaction:completion: method. After each action is performed by the telephony provider, the provider’s delegate calls either the CXCallAction method, indicating that the action was successfully performed, or the CXCallAction method, to indicate that an error occurred; both of these methods set the CXCallAction property of the action to YES.

Topics

Creating New Call Actions

- initWithCallUUID:

Initializes a new action for a call identified by a given UUID.

Accessing Call Action Attributes

callUUID

The unique identifier for the call associated with the action.

Relationships

Inherits From

See Also

Call-Related Actions

CXAction

An abstract class that declares a programmatic interface for objects that represent a telephony action.

CXEndCallAction

An encapsulation of the act of ending a call.

CXPlayDTMFCallAction

An encapsulation of the act of playing a dual tone multifrequency (DTMF) sequence.

CXSetGroupCallAction

An encapsulation of the act of grouping or ungrouping calls.

CXSetHeldCallAction

An encapsulation of the act of placing a call on hold or removing a call from hold.

CXSetMutedCallAction

An encapsulation of the act of muting or unmuting a call.