MediaRouter2.ShowSystemOutputSwitcher Method

Definition

Shows the system output switcher dialog.

[Android.Runtime.Register("showSystemOutputSwitcher", "()Z", "", ApiSince=34)]
public bool ShowSystemOutputSwitcher ();
[<Android.Runtime.Register("showSystemOutputSwitcher", "()Z", "", ApiSince=34)>]
member this.ShowSystemOutputSwitcher : unit -> bool

Returns

true if the output switcher dialog is being shown, or false if the call is ignored because the app is in the background.

Attributes

Remarks

Shows the system output switcher dialog.

Should only be called when the context of MediaRouter2 is in the foreground and visible on the screen.

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.

Java documentation for android.media.MediaRouter2.showSystemOutputSwitcher().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to