Most visited

Recently visited

MediaRouteProviderDescriptor.Builder

public static final class MediaRouteProviderDescriptor.Builder
extends Object

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


生成器为 media route provider descriptors

Summary

Public constructors

MediaRouteProviderDescriptor.Builder()

创建一个空的媒体路由提供程序描述符构建器。

MediaRouteProviderDescriptor.Builder(MediaRouteProviderDescriptor descriptor)

创建一个媒体路由提供程序描述符构建器,其中的初始内容将从现有描述符复制而来。

Public methods

MediaRouteProviderDescriptor.Builder addRoute(MediaRouteDescriptor route)

添加路线。

MediaRouteProviderDescriptor.Builder addRoutes(Collection<MediaRouteDescriptor> routes)

添加路线列表。

MediaRouteProviderDescriptor build()

构建 media route provider descriptor

Inherited methods

From class java.lang.Object

Public constructors

MediaRouteProviderDescriptor.Builder

MediaRouteProviderDescriptor.Builder ()

创建一个空的媒体路由提供程序描述符构建器。

MediaRouteProviderDescriptor.Builder

MediaRouteProviderDescriptor.Builder (MediaRouteProviderDescriptor descriptor)

创建一个媒体路由提供程序描述符构建器,其中的初始内容将从现有描述符复制而来。

Parameters
descriptor MediaRouteProviderDescriptor

Public methods

addRoute

MediaRouteProviderDescriptor.Builder addRoute (MediaRouteDescriptor route)

添加路线。

Parameters
route MediaRouteDescriptor
Returns
MediaRouteProviderDescriptor.Builder

addRoutes

MediaRouteProviderDescriptor.Builder addRoutes (Collection<MediaRouteDescriptor> routes)

添加路线列表。

Parameters
routes Collection
Returns
MediaRouteProviderDescriptor.Builder

Hooray!