Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 addRoutes ( Collection < MediaRouteDescriptor > routes)

Adds a list of routes.