MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder


class MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder


Builder for DynamicRouteDescriptor

Summary

Public constructors

A constructor with MediaRouteDescriptor.

Copies the properties from the given DynamicRouteDescriptor

Public functions

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Builds the DynamicRouteDescriptor.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

Sets if this route can be unselected.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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

Public constructors

Builder

Added in 1.1.0
Builder(descriptor: MediaRouteDescriptor)

A constructor with MediaRouteDescriptor.

Builder

Added in 1.1.0
Builder(
    dynamicRouteDescriptor: MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor
)

Copies the properties from the given DynamicRouteDescriptor

Public functions

setIsGroupable

Added in 1.1.0
fun setIsGroupable(value: Boolean): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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

setIsTransferable

Added in 1.1.0
fun setIsTransferable(value: Boolean): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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

setIsUnselectable

Added in 1.1.0
fun setIsUnselectable(value: Boolean): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

Sets if this route can be unselected.

setSelectionState

Added in 1.1.0
fun setSelectionState(state: Int): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

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