MediaRouteProviderDescriptor.Builder


class MediaRouteProviderDescriptor.Builder


Builder for MediaRouteProviderDescriptor.

Summary

Public constructors

Creates an empty media route provider descriptor builder.

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

Public constructors

Builder

Added in 1.1.0
Builder()

Creates an empty media route provider descriptor builder.

Builder

Added in 1.1.0
Builder(descriptor: MediaRouteProviderDescriptor)

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

Public functions

addRoute

Added in 1.1.0
fun addRoute(route: MediaRouteDescriptor): MediaRouteProviderDescriptor.Builder

Adds a route.

addRoutes

Added in 1.1.0
fun addRoutes(routes: (Mutable)Collection<MediaRouteDescriptor!>): MediaRouteProviderDescriptor.Builder

Adds a list of routes.

setSupportsDynamicGroupRoute

Added in 1.1.0
fun setSupportsDynamicGroupRoute(value: Boolean): MediaRouteProviderDescriptor.Builder

Sets if this provider supports dynamic group route.