---
title: CXSetHeldCallAction
framework: callkit
role: symbol
role_heading: Class
path: callkit/cxsetheldcallaction
---

# CXSetHeldCallAction

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

## Declaration

```swift
class CXSetHeldCallAction
```

## Overview

Overview CXSetHeldCallAction is a concrete subclass of 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:) to its delegate. The provider’s delegate calls the fulfill() method to indicate that the action was successfully performed.

## Topics

### Creating New Actions

- [init(call:onHold:)](callkit/cxsetheldcallaction/init(call:onhold:).md)
- [init(coder:)](callkit/cxsetheldcallaction/init(coder:).md)

### Accessing Action Information

- [isOnHold](callkit/cxsetheldcallaction/isonhold.md)

### Initializers

- [init(callUUID:onHold:)](callkit/cxsetheldcallaction/init(calluuid:onhold:).md)

## Relationships

### Inherits From

- [CXCallAction](callkit/cxcallaction.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Call-related actions

- [CXAction](callkit/cxaction.md)
- [CXCallAction](callkit/cxcallaction.md)
- [CXEndCallAction](callkit/cxendcallaction.md)
- [CXPlayDTMFCallAction](callkit/cxplaydtmfcallaction.md)
- [CXSetGroupCallAction](callkit/cxsetgroupcallaction.md)
- [CXSetMutedCallAction](callkit/cxsetmutedcallaction.md)
- [CXSetTranslatingCallAction](callkit/cxsettranslatingcallaction.md)
