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

VideoView.OnViewTypeChangedListener

public static interface VideoView.OnViewTypeChangedListener

androidx.media2.widget.VideoView.OnViewTypeChangedListener


Interface definition of a callback to be invoked when the view type has been changed.

Summary

Public methods

abstract void onViewTypeChanged(View view, int viewType)

Called when the view type has been changed.

Public methods

onViewTypeChanged

public abstract void onViewTypeChanged (View view, 
                int viewType)

Called when the view type has been changed.

Parameters
view View: the View whose view type is changed

viewType int: