added in version 22.1.0
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1
Summary:
Inherited Constants
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
MediaRouteChooserDialog
public
class
MediaRouteChooserDialog
extends AppCompatDialog
java.lang.Object | |||
↳ | android.app.Dialog | ||
↳ | android.support.v7.app.AppCompatDialog | ||
↳ | android.support.v7.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.
See also:
Summary
Inherited constants |
---|
![]()
android.content.DialogInterface
|
Public constructors | |
---|---|
MediaRouteChooserDialog(Context context)
|
|
MediaRouteChooserDialog(Context context, int theme)
|
Public methods | |
---|---|
MediaRouteSelector
|
getRouteSelector()
Gets the media route selector for filtering the routes that the user can select. |
void
|
onAttachedToWindow()
|
void
|
onDetachedFromWindow()
|
boolean
|
onFilterRoute(MediaRouter.RouteInfo route)
Returns true if the route should be included in the list. |
void
|
onFilterRoutes(List<MediaRouter.RouteInfo> routes)
Called to filter the set of routes that should be included in the list. |
void
|
refreshRoutes()
Refreshes the list of routes that are shown in the chooser dialog. |
void
|
setRouteSelector(MediaRouteSelector selector)
Sets the media route selector for filtering the routes that the user can select. |
void
|
setTitle(CharSequence title)
|
void
|
setTitle(int titleId)
|
Protected methods | |
---|---|
void
|
onCreate(Bundle savedInstanceState)
|
Inherited methods | |
---|---|
![]()
android.support.v7.app.AppCompatDialog
| |
![]()
android.app.Dialog
|