belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1
MediaRouteProviderDescriptor.Builder
public
static
final
class
MediaRouteProviderDescriptor.Builder
extends Object
java.lang.Object | |
↳ | android.support.v7.media.MediaRouteProviderDescriptor.Builder |
Builder for media route provider descriptors
.
Summary
Public constructors | |
---|---|
MediaRouteProviderDescriptor.Builder()
Creates an empty media route provider descriptor builder. |
|
MediaRouteProviderDescriptor.Builder(MediaRouteProviderDescriptor descriptor)
Creates a media route provider descriptor builder whose initial contents are copied from an existing descriptor. |
Public methods | |
---|---|
MediaRouteProviderDescriptor.Builder
|
addRoute(MediaRouteDescriptor route)
Adds a route. |
MediaRouteProviderDescriptor.Builder
|
addRoutes(Collection<MediaRouteDescriptor> routes)
Adds a list of routes. |
MediaRouteProviderDescriptor
|
build()
Builds the |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public constructors
MediaRouteProviderDescriptor.Builder
MediaRouteProviderDescriptor.Builder ()
Creates an empty media route provider descriptor builder.
MediaRouteProviderDescriptor.Builder
MediaRouteProviderDescriptor.Builder (MediaRouteProviderDescriptor descriptor)
Creates a media route provider descriptor builder whose initial contents are copied from an existing descriptor.
Parameters | |
---|---|
descriptor |
MediaRouteProviderDescriptor |
Public methods
addRoute
MediaRouteProviderDescriptor.Builder addRoute (MediaRouteDescriptor route)
Adds a route.
Parameters | |
---|---|
route |
MediaRouteDescriptor |
Returns | |
---|---|
MediaRouteProviderDescriptor.Builder |
addRoutes
MediaRouteProviderDescriptor.Builder addRoutes (Collection<MediaRouteDescriptor> routes)
Adds a list of routes.
Parameters | |
---|---|
routes |
Collection |
Returns | |
---|---|
MediaRouteProviderDescriptor.Builder |
build
MediaRouteProviderDescriptor build ()
Builds the media route provider descriptor
.
Returns | |
---|---|
MediaRouteProviderDescriptor |
Interfaces
Classes
- MediaControlIntent
- MediaItemMetadata
- MediaItemStatus
- MediaItemStatus.Builder
- MediaRouteDescriptor
- MediaRouteDescriptor.Builder
- MediaRouteDiscoveryRequest
- MediaRouteProvider
- MediaRouteProvider.Callback
- MediaRouteProvider.ProviderMetadata
- MediaRouteProvider.RouteController
- MediaRouteProviderDescriptor
- MediaRouteProviderDescriptor.Builder
- MediaRouteProviderService
- MediaRouter
- MediaRouter.Callback
- MediaRouter.ControlRequestCallback
- MediaRouter.ProviderInfo
- MediaRouter.RouteInfo
- MediaRouteSelector
- MediaRouteSelector.Builder
- MediaSessionStatus
- MediaSessionStatus.Builder
- RemotePlaybackClient
- RemotePlaybackClient.ActionCallback
- RemotePlaybackClient.ItemActionCallback
- RemotePlaybackClient.SessionActionCallback
- RemotePlaybackClient.StatusCallback