public interface

PlayerView.ControllerVisibilityListener

 androidx.media3.ui.PlayerView.ControllerVisibilityListener

Overview

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

Summary

Methods
public voidonVisibilityChanged(int visibility)

Called when the visibility changes.

Methods

public void onVisibilityChanged(int visibility)

Called when the visibility changes.

Parameters:

visibility: The new visibility. Either View or View.