Android APIs
public static final class

MediaRouteProviderDescriptor.Builder

extends Object
java.lang.Object
   ↳ android.support.v7.media.MediaRouteProviderDescriptor.Builder

Class Overview

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()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MediaRouteProviderDescriptor.Builder ()

Creates an empty media route provider descriptor builder.

public MediaRouteProviderDescriptor.Builder (MediaRouteProviderDescriptor descriptor)

Creates a media route provider descriptor builder whose initial contents are copied from an existing descriptor.

Public Methods

public MediaRouteProviderDescriptor.Builder addRoute (MediaRouteDescriptor route)

Adds a route.

public MediaRouteProviderDescriptor.Builder addRoutes (Collection<MediaRouteDescriptor> routes)

Adds a list of routes.