# ChimeCommands


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface ChimeCommands
```

<br />

Known direct subclasses [Chime](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/Chime)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/Chime` | API for the Chime trait. |

*** ** * ** ***

Commands for the Chime trait.

## Summary

| ### Public functions |
|---|---|
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeCommands#playChimeSound(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Play the currently selected chime. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeCommands#playChimeSoundBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeCommands#playChimeSound(kotlin.Function1)` command. |

## Public functions

### playChimeSound

```
suspend fun playChimeSound(optionalArgs: ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> Unit = {}): Unit
```

Play the currently selected chime.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

### playChimeSoundBatchable

```
fun playChimeSoundBatchable(optionalArgs: ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeCommands#playChimeSound(kotlin.Function1)` command.

Play the currently selected chime.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChimeTrait.PlayChimeSoundCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |