public interface

LegacyPlayerControlView.VisibilityListener

 androidx.media3.ui.LegacyPlayerControlView.VisibilityListener

Overview

Listener to be notified about changes of the visibility of the UI control.

Summary

Methods
public voidonVisibilityChange(int visibility)

Called when the visibility changes.

Methods

public void onVisibilityChange(int visibility)

Called when the visibility changes.

Parameters:

visibility: The new visibility. Either View or View.