public final class

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.mediarouter.media.MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

Overview

Builder for MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Summary

Constructors
publicBuilder(MediaRouteDescriptor descriptor)

A constructor with MediaRouteDescriptor.

publicBuilder(MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor dynamicRouteDescriptor)

Copies the properties from the given MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Methods
public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptorbuild()

Builds the MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.BuildersetIsGroupable(boolean value)

Sets if this route can be a selected as a member of the associated dynamic group route.

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.BuildersetIsTransferable(boolean value)

Sets if the associated dynamic group route can be transferred to this route.

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.BuildersetIsUnselectable(boolean value)

Sets if this route can be unselected.

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.BuildersetSelectionState(int state)

Sets the selection state of this route within the associated dynamic group route.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(MediaRouteDescriptor descriptor)

A constructor with MediaRouteDescriptor.

Copies the properties from the given MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Methods

Sets the selection state of this route within the associated dynamic group route.

Sets if this route can be unselected.

Sets if this route can be a selected as a member of the associated dynamic group route.

Sets if the associated dynamic group route can be transferred to this route.

Builds the MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.