Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

public static final class MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder
extends Object

java.lang.Object
   ↳ androidx.mediarouter.media.MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder


Builder for MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Summary

Public constructors

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder(MediaRouteDescriptor descriptor)

A constructor with MediaRouteDescriptor.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder(MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor dynamicRouteDescriptor)

Copies the properties from the given MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Public methods

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor build()

Builds the MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsGroupable(boolean value)

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

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsTransferable(boolean value)

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

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsUnselectable(boolean value)

Sets if this route can be unselected.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setSelectionState(int state)

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

Inherited methods

Public constructors

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder (MediaRouteDescriptor descriptor)

A constructor with MediaRouteDescriptor.

Parameters
descriptor MediaRouteDescriptor

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder (MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor dynamicRouteDescriptor)

Copies the properties from the given MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Parameters
dynamicRouteDescriptor MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Public methods

setIsGroupable

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsGroupable (boolean value)

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

Parameters
value boolean

Returns
MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

setIsTransferable

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsTransferable (boolean value)

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

Parameters
value boolean

Returns
MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

setIsUnselectable

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setIsUnselectable (boolean value)

Sets if this route can be unselected.

Parameters
value boolean

Returns
MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

setSelectionState

public MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder setSelectionState (int state)

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

Parameters
state int

Returns
MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder