# EnumDescriptor

# EnumDescriptor


```
@Immutable
@HomeExperimentalGenericApi
interface EnumDescriptor : Descriptor
```

<br />

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

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BitmapDescriptor` | Bitmaps are effectively enumerations if you unroll the individual bits in the mask into their own enum values. |

*** ** * ** ***

Descriptor representing an enumeration, with its name and a map of its numeric values to value labels.

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/EnumDescriptor#name()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/EnumEntry>` | `https://developers.home.google.com/reference/kotlin/com/google/home/EnumDescriptor#values()` |

## Public properties

### name

```
val name: String
```

### values

```
val values: Map<ULong, EnumEntry>
```