SystemOutputSwitcherDialogController


class SystemOutputSwitcherDialogController


Provides an utility method to show the system's output switcher dialog.

See the Media Routing guide for more information.

Summary

Public functions

java-static Boolean
showDialog(context: Context)

Shows the system output switcher dialog.

Public functions

showDialog

Added in 1.4.0
java-static fun showDialog(context: Context): Boolean

Shows the system output switcher dialog.

The appearance and precise behaviour of the system output switcher dialog may vary across different devices, OS versions, and form factors, but the basic functionality stays the same.

See Output Switcher documentation for more details.

Parameters
context: Context

Android context

Returns
Boolean

true if the dialog was shown successfully and false otherwise