1package androidx.media.widget { 2 3 public class MediaControlView2 extends android.view.ViewGroup { 4 ctor public MediaControlView2(android.content.Context); 5 ctor public MediaControlView2(android.content.Context, android.util.AttributeSet); 6 ctor public MediaControlView2(android.content.Context, android.util.AttributeSet, int); 7 method public void onMeasure(int, int); 8 method public void requestPlayButtonFocus(); 9 method public void setOnFullScreenListener(androidx.media.widget.MediaControlView2.OnFullScreenListener); 10 } 11 12 public static abstract interface MediaControlView2.OnFullScreenListener { 13 method public abstract void onFullScreen(android.view.View, boolean); 14 } 15 16 public class VideoView2 extends android.view.ViewGroup { 17 ctor public VideoView2(android.content.Context); 18 ctor public VideoView2(android.content.Context, android.util.AttributeSet); 19 ctor public VideoView2(android.content.Context, android.util.AttributeSet, int); 20 method public androidx.media.widget.MediaControlView2 getMediaControlView2(); 21 method public float getSpeed(); 22 method public int getViewType(); 23 method public boolean isSubtitleEnabled(); 24 method public void onAttachedToWindow(); 25 method public void onDetachedFromWindow(); 26 method public void onMeasure(int, int); 27 method public void setAudioAttributes(android.media.AudioAttributes); 28 method public void setAudioFocusRequest(int); 29 method public void setMediaControlView2(androidx.media.widget.MediaControlView2, long); 30 method public void setSpeed(float); 31 method public void setSubtitleEnabled(boolean); 32 method public void setVideoUri(android.net.Uri, java.util.Map<java.lang.String, java.lang.String>); 33 method public void setViewType(int); 34 field public static final int VIEW_TYPE_SURFACEVIEW = 0; // 0x0 35 field public static final int VIEW_TYPE_TEXTUREVIEW = 1; // 0x1 36 } 37 38} 39 40