java.lang.Object | |||
↳ | android.support.v4.app.Fragment | ||
↳ | android.support.v4.app.DialogFragment | ||
↳ | android.support.v7.app.MediaRouteChooserDialogFragment |
Media route chooser dialog fragment.
Creates a
MediaRouteChooserDialog
. The application may subclass
this dialog fragment to customize the media route chooser dialog.
[Expand]
Inherited Constants
|
|||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v4.app.DialogFragment
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a media route chooser dialog fragment.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Gets the media route selector for filtering the routes that the user can select.
|
||||||||||
|
Called when the chooser dialog is being created.
|
||||||||||
|
Override to build your own custom Dialog container.
|
||||||||||
|
Sets the media route selector for filtering the routes that the user can select.
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v4.app.DialogFragment
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From class
android.support.v4.app.Fragment
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
android.content.ComponentCallbacks
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
android.content.DialogInterface.OnCancelListener
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
android.content.DialogInterface.OnDismissListener
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
android.view.View.OnCreateContextMenuListener
|
Creates a media route chooser dialog fragment.
All subclasses of this class must also possess a default constructor.
Gets the media route selector for filtering the routes that the user can select.
Called when the chooser dialog is being created.
Subclasses may override this method to customize the dialog.
Override to build your own custom Dialog container. This is typically
used to show an AlertDialog instead of a generic Dialog; when doing so,
onCreateView(LayoutInflater, ViewGroup, Bundle)
does not need
to be implemented since the AlertDialog takes care of its own content.
This method will be called after
onCreate(Bundle)
and
before
onCreateView(LayoutInflater, ViewGroup, Bundle)
. The
default implementation simply instantiates and returns a
Dialog
class.
Note: DialogFragment own the
Dialog.setOnCancelListener
and
Dialog.setOnDismissListener
callbacks. You must not set them yourself.
To find out about these events, override
onCancel(DialogInterface)
and
onDismiss(DialogInterface)
.
savedInstanceState | The last saved instance state of the Fragment, or null if this is a freshly created Fragment. |
---|
Sets the media route selector for filtering the routes that the user can select. This method must be called before the fragment is added.
selector | The selector to set. |
---|