MediaRouteChooserDialog
fun MediaRouteChooserDialog(routeSelector: MediaRouteSelector, modifier: Modifier = Modifier, title: String? = null, onDismissRequest: () -> Unit)
This class implements the route chooser dialog for MediaRouter.
This dialog allows the user to choose a route that matches a given selector.
Parameters
routeSelector
The media route selector for filtering the routes that the user can select using the media route chooser dialog.
modifier
The Modifier to be applied to this dialog.
title
The title of the dialog. If null
, it will be defined based on the chooser state.
onDismissRequest
The action to perform when this dialog is dismissed.