Builder
class Builder
| kotlin.Any | |
| ↳ | androidx.mediarouter.media.MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder |
Builder for DynamicRouteDescriptor
Summary
| Public constructors | |
|---|---|
<init>(descriptor: MediaRouteDescriptor!)A constructor with |
|
<init>(dynamicRouteDescriptor: MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor!)Copies the properties from the given |
|
| Public methods | |
|---|---|
| MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor! |
build()Builds the |
| MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder! |
setIsGroupable(value: Boolean)Sets if this route can be a selected as a member of the associated dynamic group route. |
| MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder! |
setIsTransferable(value: Boolean)Sets if the associated dynamic group route can be transferred to this route. |
| MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder! |
setIsUnselectable(value: Boolean)Sets if this route can be unselected. |
| MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder! |
setSelectionState(state: Int)Sets the selection state of this route within the associated dynamic group route. |
Public constructors
<init>
Builder(dynamicRouteDescriptor: MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor!)
Copies the properties from the given DynamicRouteDescriptor
Public methods
build
fun build(): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor!
Builds the DynamicRouteDescriptor.
setIsGroupable
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
fun setIsTransferable(value: Boolean): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder!
Sets if the associated dynamic group route can be transferred to this route.
setIsUnselectable
fun setIsUnselectable(value: Boolean): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder!
Sets if this route can be unselected.
setSelectionState
fun setSelectionState(state: Int): MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder!
Sets the selection state of this route within the associated dynamic group route.

