# HasGenericTypes

# HasGenericTypes


```
@HomeExperimentalGenericApi
interface HasGenericTypes
```

<br />

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

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/HomeDevice` | A device supporting traits, commands, and subscriptions. |

*** ** * ** ***

## Summary

| ### Public functions |
|---|---|
| `https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/GenericDeviceType>>` | `https://developers.home.google.com/reference/kotlin/com/google/home/HasGenericTypes#genericTypes()()` |

## Public functions

### genericTypes

```
fun genericTypes(): Flow<Set<GenericDeviceType>>
```