MediaRouteChooserDialog
open class MediaRouteChooserDialog : AppCompatDialog
kotlin.Any | |||
↳ | android.app.Dialog | ||
↳ | androidx.appcompat.app.AppCompatDialog | ||
↳ | androidx.mediarouter.app.MediaRouteChooserDialog |
This class implements the route chooser dialog for MediaRouter
.
This dialog allows the user to choose a route that matches a given selector.
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
open MediaRouteSelector |
Gets the media route selector for filtering the routes that the user can select. |
open Unit | |
open Unit | |
open Boolean |
onFilterRoute(@NonNull route: MediaRouter.RouteInfo) Returns true if the route should be included in the list. |
open Unit |
onFilterRoutes(@NonNull routes: MutableList<MediaRouter.RouteInfo!>) Called to filter the set of routes that should be included in the list. |
open Unit |
Refreshes the list of routes that are shown in the chooser dialog. |
open Unit |
setRouteSelector(@NonNull selector: MediaRouteSelector) Sets the media route selector for filtering the routes that the user can select. |
open Unit |
setTitle(title: CharSequence?) |
open Unit |
Protected methods | |
---|---|
open Unit |
Inherited functions | |
---|---|