# MediaRouteProvider.RouteControllerOptions

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

*** ** * ** ***


```
public final class MediaRouteProvider.RouteControllerOptions
```

<br />

*** ** * ** ***

Holds parameters for creating `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProvider.RouteController`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProvider.RouteControllerOptions.Builder` Builder for `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProvider.RouteControllerOptions`. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProvider.RouteControllerOptions#getClientPackageName()()` Returns the package name of the client requesting the route controller creation. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html` | `https://developer.android.com/reference/androidx/mediarouter/media/MediaRouteProvider.RouteControllerOptions#getControlHints()()` |

## Public methods

### getClientPackageName

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

```
public @NonNull String getClientPackageName()
```

Returns the package name of the client requesting the route controller creation.

### getControlHints

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

```
public @NonNull Bundle getControlHints()
```