MediaRouteButtonState


@UnstableApi
class MediaRouteButtonState


Holds the state for the MediaRouteButton.

Summary

Public constructors

Public properties

Boolean

Whether the device picker is visible.

Public constructors

MediaRouteButtonState

MediaRouteButtonState()

Public properties

isPickerVisible

val isPickerVisible: Boolean

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.