# DishwasherModeTrait.ModeTag


```
enum DishwasherModeTrait.ModeTag : Enum, ClusterEnum
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html) ||
|   | ↳ | [com.google.home.matter.standard.DishwasherModeTrait.ModeTag](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag) |

*** ** * ** ***

The mode of operation.

## Summary

| ### Enum Values |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Auto` | Decides which options, features, and setting values to use. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Day` | Provides a mode suitable for use during day time. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Heavy` | Optimized for heavily-soiled dishes. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Light` | Optimized for light washing. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#LowEnergy` | Optimizes for lower energy usage. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#LowNoise` | Optimizes for low noise operation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Max` | Uses the highest available setting value. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Min` | Uses the lowest available setting value. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Night` | Provides a mode suitable for use during night time. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Normal` | The normal range of operation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Quick` | Optimizes for faster completion. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Quiet` | Operates silently or barely audibly. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#UnknownValue` | The enum value is out of range. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#Vacation` | Provides a mode suitable for use during vacations or other extended absences. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#toDescription()()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#valueOf(kotlin.String)(value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Returns the enum constant of this type with the specified name. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/kotlin/enums/EnumEntries<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#entries()` Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#traitId()` Trait identifier of the Matter Cluster that defines the enum Data Type. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#typeName()` Name of the Matter Data Type that the enum belongs to, in UpperCamelCase, e.g. "AlarmCodeEnum" from Door Lock Cluster. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DishwasherModeTrait.ModeTag#value()` Integer identifier of the enum value per the Matter Application Clusters spec, e.g. 1 for Door Lock Cluster AlarmCodeEnum.LockFactoryReset. |

## Enum Values

### Auto

```
val DishwasherModeTrait.ModeTag.Auto: DishwasherModeTrait.ModeTag
```

Decides which options, features, and setting values to use.

### Day

```
val DishwasherModeTrait.ModeTag.Day: DishwasherModeTrait.ModeTag
```

Provides a mode suitable for use during day time.

### Heavy

```
val DishwasherModeTrait.ModeTag.Heavy: DishwasherModeTrait.ModeTag
```

Optimized for heavily-soiled dishes.

### Light

```
val DishwasherModeTrait.ModeTag.Light: DishwasherModeTrait.ModeTag
```

Optimized for light washing.

### LowEnergy

```
val DishwasherModeTrait.ModeTag.LowEnergy: DishwasherModeTrait.ModeTag
```

Optimizes for lower energy usage.

### LowNoise

```
val DishwasherModeTrait.ModeTag.LowNoise: DishwasherModeTrait.ModeTag
```

Optimizes for low noise operation.

### Max

```
val DishwasherModeTrait.ModeTag.Max: DishwasherModeTrait.ModeTag
```

Uses the highest available setting value.

### Min

```
val DishwasherModeTrait.ModeTag.Min: DishwasherModeTrait.ModeTag
```

Uses the lowest available setting value.

### Night

```
val DishwasherModeTrait.ModeTag.Night: DishwasherModeTrait.ModeTag
```

Provides a mode suitable for use during night time.

### Normal

```
val DishwasherModeTrait.ModeTag.Normal: DishwasherModeTrait.ModeTag
```

The normal range of operation.

### Quick

```
val DishwasherModeTrait.ModeTag.Quick: DishwasherModeTrait.ModeTag
```

Optimizes for faster completion.

### Quiet

```
val DishwasherModeTrait.ModeTag.Quiet: DishwasherModeTrait.ModeTag
```

Operates silently or barely audibly.

### UnknownValue

```
val DishwasherModeTrait.ModeTag.UnknownValue: DishwasherModeTrait.ModeTag
```

The enum value is out of range. For example, a newer Matter cluster definition may support enum values not yet supported by the Home APIs.

### Vacation

```
val DishwasherModeTrait.ModeTag.Vacation: DishwasherModeTrait.ModeTag
```

Provides a mode suitable for use during vacations or other extended absences.

## Public functions

### toDescription

```
@HomeExperimentalGenericApi
fun toDescription(): String
```

### valueOf

```
fun valueOf(value: String): DishwasherModeTrait.ModeTag
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Throws |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html` | if this enum type has no constant with the specified name |

### values

```
fun values(): Array<DishwasherModeTrait.ModeTag>
```

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

## Public properties

### entries

```
val entries: EnumEntries<DishwasherModeTrait.ModeTag>
```

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

### traitId

```
open val traitId: String
```

Trait identifier of the Matter Cluster that defines the enum Data Type. Refer to `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId#traitId()` for the format.

### typeName

```
open val typeName: String
```

Name of the Matter Data Type that the enum belongs to, in UpperCamelCase, e.g. "AlarmCodeEnum" from Door Lock Cluster.

### value

```
open val value: ULong
```

Integer identifier of the enum value per the Matter Application Clusters spec, e.g. 1 for Door Lock Cluster AlarmCodeEnum.LockFactoryReset.