MediaRouteButtonState


@UnstableApi
public final class MediaRouteButtonState


Holds the state for the MediaRouteButton.

Summary

Public constructors

Public methods

final boolean

Whether the device picker is visible.

Public constructors

MediaRouteButtonState

public MediaRouteButtonState()

Public methods

isPickerVisible

public final boolean isPickerVisible()

Whether the device picker is visible.

NOTE: This state is only relevant for the non-System picker and would always be false if the System Output Switcher is launched instead of the in-app picker.