MediaRouteChooserDialogFragment

public class MediaRouteChooserDialogFragment
extends DialogFragment

java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.fragment.app.DialogFragment
       ↳ androidx.mediarouter.app.MediaRouteChooserDialogFragment


Media route chooser dialog fragment.

Creates a MediaRouteChooserDialog. The application may subclass this dialog fragment to customize the media route chooser dialog.

Summary

Inherited constants

Public constructors

MediaRouteChooserDialogFragment()

Creates a media route chooser dialog fragment.

Public methods

MediaRouteSelector getRouteSelector()

Gets the media route selector for filtering the routes that the user can select.

void onConfigurationChanged(Configuration newConfig)
MediaRouteChooserDialog onCreateChooserDialog(Context context, Bundle savedInstanceState)

Called when the chooser dialog is being created.

Dialog onCreateDialog(Bundle savedInstanceState)

Override to build your own custom Dialog container.

void setRouteSelector(MediaRouteSelector selector)

Sets the media route selector for filtering the routes that the user can select.

Inherited methods