<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LiveCommunicationKit",
  "identifier" : "/documentation/LiveCommunicationKit/PlayToneAction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "LiveCommunicationKit"
    ],
    "preciseIdentifier" : "s:20LiveCommunicationKit14PlayToneActionC"
  },
  "title" : "PlayToneAction"
}
-->

# PlayToneAction

An action that plays sequence of tones to indicate that a participant of a conversation interacted with the keypad.

```
final class PlayToneAction
```

## Overview

The action can apply to local and remote members in a conversation.

## Topics

### Creating a conversation action

[`init(conversationUUID: UUID, digits: String, tone: PlayToneAction.Tone)`](/documentation/LiveCommunicationKit/PlayToneAction/init(conversationUUID:digits:tone:))

Creates an action that plays a sequence of tones that indicate an interaction with the keypad.

### Accessing action attributes

[`let digits: String`](/documentation/LiveCommunicationKit/PlayToneAction/digits)

The digits tapped by the user into the keypad or included in the dial string.

[`let tone: PlayToneAction.Tone`](/documentation/LiveCommunicationKit/PlayToneAction/tone-swift.property)

The keypad tone to play.

[`enum Tone`](/documentation/LiveCommunicationKit/PlayToneAction/Tone-swift.enum)

Values that describe keypad tones.

## Relationships

### Inherits From

[`ConversationAction`](/documentation/LiveCommunicationKit/ConversationAction)

---

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)