FileDocCategorySizeDatePackage
MediaRouteControllerDialogFragment.javaAPI DocAndroid 5.1 API2006Thu Mar 12 22:22:10 GMT 2015com.android.internal.app

MediaRouteControllerDialogFragment

public class MediaRouteControllerDialogFragment extends android.app.DialogFragment
Media route controller dialog fragment.

Creates a {@link MediaRouteControllerDialog}. The application may subclass this dialog fragment to customize the media route controller dialog.

TODO: Move this back into the API, as in the support library media router.

Fields Summary
Constructors Summary
public MediaRouteControllerDialogFragment()
Creates a media route controller dialog fragment.

All subclasses of this class must also possess a default constructor.

        setCancelable(true);
        setStyle(STYLE_NORMAL, android.R.style.Theme_DeviceDefault_Dialog);
    
Methods Summary
public MediaRouteControllerDialogonCreateControllerDialog(android.content.Context context, android.os.Bundle savedInstanceState)
Called when the controller dialog is being created.

Subclasses may override this method to customize the dialog.

        return new MediaRouteControllerDialog(context, getTheme());
    
public android.app.DialogonCreateDialog(android.os.Bundle savedInstanceState)

        return onCreateControllerDialog(getActivity(), savedInstanceState);