# OvenCavityOperationalStateCommands

# OvenCavityOperationalStateCommands


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

<br />

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

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

*** ** * ** ***

Commands for the OvenCavityOperationalState trait.

## Summary

| ### Public functions |
|---|---|
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StartCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#start()()` Start the oven if it is in a state where it can be started. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StartCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#startBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#start()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StopCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#stop()()` Stop the oven if possible, based on the current operation underway. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StopCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#stopBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateCommands#stop()` command. |

## Public functions

### start

```
suspend fun start(): OvenCavityOperationalStateTrait.StartCommand.Response
```

Start the oven if it is in a state where it can be started.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StartCommand.Response` | The result of the completed `Start` command. |

### startBatchable

```
fun startBatchable(): BatchableCommand<OvenCavityOperationalStateTrait.StartCommand.Response>
```

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

Start the oven if it is in a state where it can be started.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StartCommand.Response>` | BatchableCommand |

### stop

```
suspend fun stop(): OvenCavityOperationalStateTrait.StopCommand.Response
```

Stop the oven if possible, based on the current operation underway.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StopCommand.Response` | The result of the completed `Stop` command. |

### stopBatchable

```
fun stopBatchable(): BatchableCommand<OvenCavityOperationalStateTrait.StopCommand.Response>
```

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

Stop the oven if possible, based on the current operation underway.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.StopCommand.Response>` | BatchableCommand |