<!--
{
  "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/CXSetHeldCallAction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXSetHeldCallAction"
  },
  "title" : "CXSetHeldCallAction"
}
-->

# CXSetHeldCallAction

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

```
class CXSetHeldCallAction
```

## Overview

[`CXSetHeldCallAction`](/documentation/CallKit/CXSetHeldCallAction) is a concrete subclass of [`CXCallAction`](/documentation/CallKit/CXCallAction).

When a caller places a call on hold, callers are unable to communicate with one another until the holding caller removes the call from hold. Placing a call on hold doesn’t end the call.

When the user or the system places a call on hold, the provider sends [`provider(_:perform:)`](/documentation/CallKit/CXProviderDelegate/provider(_:perform:)-947b1) to its delegate. The provider’s delegate calls the [`fulfill()`](/documentation/CallKit/CXAction/fulfill()) method to indicate that the action was successfully performed.

## Topics

### Creating New Actions

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

Initializes a new action for a call identified by a given UUID, as well as whether the call is on hold.

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

Creates a new action to place a call on hold with data in an unarchiver.

### Accessing Action Information

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

A Boolean value that indicates whether the call is placed on hold.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)