# EmptyPartsProvider


```
@HomeExperimentalApi
object EmptyPartsProvider : PartsProvider
```

<br />

*** ** * ** ***

A `https://developers.home.google.com/reference/kotlin/com/google/home/PartsProvider` for objects that expose no parts.

## Summary

| ### Public functions |
|---|---|
| `open https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<T>` | `<T : https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType> https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#part(com.google.home.DeviceTypeFactory,kotlin.Array)(type: https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory<T>, vararg tags: https://developers.home.google.com/reference/kotlin/com/google/home/Tag)` Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType` using the given `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory` and `https://developers.home.google.com/reference/kotlin/com/google/home/Tag`. |
| `open https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<T?>` | `<T : https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType> https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#partOrNull(com.google.home.DeviceTypeFactory,kotlin.Array)(type: https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory<T>, vararg tags: https://developers.home.google.com/reference/kotlin/com/google/home/Tag)` Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType` using the given `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory` and `https://developers.home.google.com/reference/kotlin/com/google/home/Tag`. |
| `open 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/DeviceType>>` | `https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#parts()()` Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType`s that are parts of this object. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#toString()()` |

| ### Public properties |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/SourceConnectivity` | `https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#sourceConnectivity()` Source Connectivity for the device. |

## Public functions

### part

```
open fun <T : DeviceType> part(type: DeviceTypeFactory<T>, vararg tags: Tag): Flow<T>
```

Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType` using the given `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory` and `https://developers.home.google.com/reference/kotlin/com/google/home/Tag`.

| Parameters |
|---|---|
| `type: https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory<T>` | the device type to get. |
| `vararg tags: https://developers.home.google.com/reference/kotlin/com/google/home/Tag` | The tags to filter by. |

| Returns |
|---|---|
| `https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<T>` | a flow that can be used to track changes to a specific type. If the type is not supported, an empty flow is returned. When multiple instances match, whether the first match or nothing is emitted depends on the implementation; pass `https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#part(com.google.home.DeviceTypeFactory,kotlin.Array)` to disambiguate. |

### partOrNull

```
open fun <T : DeviceType> partOrNull(type: DeviceTypeFactory<T>, vararg tags: Tag): Flow<T?>
```

Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType` using the given `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory` and `https://developers.home.google.com/reference/kotlin/com/google/home/Tag`.

| Parameters |
|---|---|
| `type: https://developers.home.google.com/reference/kotlin/com/google/home/DeviceTypeFactory<T>` | the device type to get. |
| `vararg tags: https://developers.home.google.com/reference/kotlin/com/google/home/Tag` | The tags to filter by. |

| Returns |
|---|---|
| `https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<T?>` | a flow that can be used to track changes to a specific type. If the type is not supported, `null` is emitted. When multiple instances match, whether the first match or `null` is emitted depends on the implementation; pass `https://developers.home.google.com/reference/kotlin/com/google/home/EmptyPartsProvider#partOrNull(com.google.home.DeviceTypeFactory,kotlin.Array)` to disambiguate. |

### parts

```
open fun parts(): Flow<Set<DeviceType>>
```

Gets a flow on the `https://developers.home.google.com/reference/kotlin/com/google/home/DeviceType`s that are parts of this object.

| Returns |
|---|---|
| `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/DeviceType>>` | a flow that can be used to track changes to the parts of this object. |

### toString

```
open fun toString(): String
```

## Public properties

### sourceConnectivity

```
open val sourceConnectivity: SourceConnectivity
```

Source Connectivity for the device.