public interface

PlayerView.FullscreenButtonClickListener

 androidx.media3.ui.PlayerView.FullscreenButtonClickListener

Overview

Listener invoked when the fullscreen button is clicked. The implementation is responsible for changing the UI layout.

Summary

Methods
public voidonFullscreenButtonClick(boolean isFullScreen)

Called when the fullscreen button is clicked.

Methods

public void onFullscreenButtonClick(boolean isFullScreen)

Called when the fullscreen button is clicked.

Parameters:

isFullScreen: true if the video rendering surface should be fullscreen, false otherwise.