getVisibilityState

Gets the current visibility state. For captions, the button is visible when captions are available. Captions availability is propagated via the SDK event bus.

See also