Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

MediaControlView.OnFullScreenListener

public static interface MediaControlView.OnFullScreenListener

androidx.media2.widget.MediaControlView.OnFullScreenListener


Interface definition of a callback to be invoked to inform the fullscreen mode is changed. Application should handle the fullscreen mode accordingly.

Summary

Public methods

abstract void onFullScreen(View view, boolean fullScreen)

Called to indicate a fullscreen mode change.

Public methods

onFullScreen

public abstract void onFullScreen (View view, 
                boolean fullScreen)

Called to indicate a fullscreen mode change.

Parameters
view View

fullScreen boolean