An abstract class that declares a programmatic interface for objects that represent a telephony action.
- iOS 10.0+
- Mac Catalyst 13.0+
Each instance of
CXAction is uniquely identified by a
uuid, which is generated on initialization. An action also tracks whether it has been completed or not.
To perform one or more actions, you add them to a new
CXTransaction object and pass the transaction to an instance of
CXCall using the
request(_: method. After each action is performed by the telephony provider, the provider’s delegate calls either the
fulfill() method, indicating that the action was successfully performed, or the
fail() method, to indicate that an error occurred; both of these methods set the
is property of the action to
CXCall subclass is an abstract class that represents an action associated with a
CXCall object. The CallKit framework provides several concrete
CXCall subclasses to represent actions such as answering a call and putting a call on hold.