# MediaRouteProviderService.ClientInfo.Builder

Artifact: [androidx.mediarouter:mediarouter](https://developer.android.com/jetpack/androidx/releases/mediarouter) [View Source](https://cs.android.com/search?q=file:androidx/mediarouter/media/MediaRouteProviderService.java+class:androidx.mediarouter.media.MediaRouteProviderService.ClientInfo.Builder) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/mediarouter#1.8.0)

*** ** * ** ***


```
public final class MediaRouteProviderService.ClientInfo.Builder
```

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo.Builder#Builder(java.lang.String)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html packageName)` |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo` | `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo.Builder#build()()` Builds and returns the `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo` object. |

## Public constructors

### Builder

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/mediarouter#1.8.0)

```
public Builder(@NonNull String packageName)
```

## Public methods

### build

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/mediarouter#1.8.0)

```
public @NonNull MediaRouteProviderService.ClientInfo build()
```

Builds and returns the `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProviderService.ClientInfo` object.