added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Summary:
Inherited Constants
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
VideoSupportFragment
public
class
VideoSupportFragment
extends PlaybackSupportFragment
java.lang.Object | |||
↳ | android.support.v4.app.Fragment | ||
↳ | android.support.v17.leanback.app.PlaybackSupportFragment | ||
↳ | android.support.v17.leanback.app.VideoSupportFragment |
Subclass of PlaybackSupportFragment
that is responsible for providing a SurfaceView
and rendering video.
Summary
Inherited constants |
---|
![]()
android.support.v17.leanback.app.PlaybackSupportFragment
|
Public constructors | |
---|---|
VideoSupportFragment()
|
Public methods | |
---|---|
SurfaceView
|
getSurfaceView()
Returns the surface view. |
View
|
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
Called to have the fragment instantiate its user interface view. |
void
|
onDestroyView()
Called when the view previously created by |
void
|
setSurfaceHolderCallback(SurfaceHolder.Callback callback)
Adds |
Protected methods | |
---|---|
void
|
onVideoSizeChanged(int width, int height)
Called when size of the video changes. |
Inherited methods | |
---|---|
![]()
android.support.v17.leanback.app.PlaybackSupportFragment
| |
![]()
android.support.v4.app.Fragment
|