<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CallKit",
  "identifier" : "/documentation/CallKit/CXCallAction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXCallAction"
  },
  "title" : "CXCallAction"
}
-->

# CXCallAction

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

```
class CXCallAction
```

## Overview

The CallKit framework provides the following concrete [`CXCallAction`](/documentation/CallKit/CXCallAction) subclasses.

|CXCallAction subclass                                                       |Description                                                     |
|----------------------------------------------------------------------------|----------------------------------------------------------------|
|``doc://com.apple.callkit/documentation/CallKit/CXAnswerCallAction``        |Answers an incoming call.                                       |
|``doc://com.apple.callkit/documentation/CallKit/CXStartCallAction``         |Initiates an outgoing call.                                     |
|``doc://com.apple.callkit/documentation/CallKit/CXEndCallAction``           |Ends a call.                                                    |
|``doc://com.apple.callkit/documentation/CallKit/CXSetHeldCallAction``       |Places a call on hold or removes a call from hold.              |
|``doc://com.apple.callkit/documentation/CallKit/CXSetGroupCallAction``      |Groups a call with another call or removes a call from a group. |
|``doc://com.apple.callkit/documentation/CallKit/CXSetMutedCallAction``      |Mutes or unmutes a call.                                        |
|``doc://com.apple.callkit/documentation/CallKit/CXSetTranslatingCallAction``|Starts or stops call translation.                               |
|``doc://com.apple.callkit/documentation/CallKit/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`](/documentation/CallKit/CXTransaction) object and pass the transaction to an instance of [`CXCallController`](/documentation/CallKit/CXCallController) using the [`request(_:completion:)`](/documentation/CallKit/CXCallController/request(_:completion:)) method. After each action is performed by the telephony provider, the provider’s delegate calls either the [`fulfill()`](/documentation/CallKit/CXAction/fulfill()) method, indicating that the action was successfully performed, or the [`fail()`](/documentation/CallKit/CXAction/fail()) method, to indicate that an error occurred; both of these methods set the [`isComplete`](/documentation/CallKit/CXAction/isComplete) property of the action to <doc://com.apple.documentation/documentation/Swift/true>.

## Topics

### Creating New Call Actions

[`-  initWithCallUUID:`](/documentation/CallKit/CXCallAction/init(call:))

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

[`-  initWithCoder:`](/documentation/CallKit/CXCallAction/init(coder:))

Creates a new action for a call with data in an unarchiver.

### Accessing Call Action Attributes

[`callUUID`](/documentation/CallKit/CXCallAction/callUUID)

The unique identifier for the call associated with the action.

## Relationships

### Inherited By

[`CXSetGroupCallAction`](/documentation/CallKit/CXSetGroupCallAction)

[`CXStartCallAction`](/documentation/CallKit/CXStartCallAction)

[`CXSetTranslatingCallAction`](/documentation/CallKit/CXSetTranslatingCallAction)

[`CXEndCallAction`](/documentation/CallKit/CXEndCallAction)

[`CXSetMutedCallAction`](/documentation/CallKit/CXSetMutedCallAction)

[`CXSetHeldCallAction`](/documentation/CallKit/CXSetHeldCallAction)

[`CXAnswerCallAction`](/documentation/CallKit/CXAnswerCallAction)

[`CXPlayDTMFCallAction`](/documentation/CallKit/CXPlayDTMFCallAction)

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`CXAction`](/documentation/CallKit/CXAction)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)