# MicrowaveOvenControlCommands

# MicrowaveOvenControlCommands


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

<br />

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

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

*** ** * ** ***

Commands for the MicrowaveOvenControl 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/MicrowaveOvenControlCommands#addMoreTime(kotlin.UInt)(timeToAdd: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Add more time to the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute of the server. |
| `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/MicrowaveOvenControlCommands#addMoreTimeBatchable(kotlin.UInt)(timeToAdd: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlCommands#addMoreTime(kotlin.UInt)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlCommands#setCookingParameters(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Sets the cooking parameters associated with the operation of the device. |
| `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/MicrowaveOvenControlCommands#setCookingParametersBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.SetCookingParametersCommand.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/MicrowaveOvenControlCommands#setCookingParameters(kotlin.Function1)` command. |

## Public functions

### addMoreTime

```
suspend fun addMoreTime(timeToAdd: UInt): Unit
```

Add more time to the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute of the server.

| Parameters |
|---|---|
| `timeToAdd: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The number of seconds to be added to the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute. |

### addMoreTimeBatchable

```
fun addMoreTimeBatchable(timeToAdd: UInt): BatchableCommand<Unit>
```

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

Add more time to the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute of the server.

| Parameters |
|---|---|
| `timeToAdd: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | The number of seconds to be added to the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute. |

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

### setCookingParameters

```
suspend fun setCookingParameters(optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}): Unit
```

Sets the cooking parameters associated with the operation of the device.

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

### setCookingParametersBatchable

```
fun setCookingParametersBatchable(optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<Unit>
```

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

Sets the cooking parameters associated with the operation of the device.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.SetCookingParametersCommand.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 |