VideoSupportFragment
open class VideoSupportFragment : PlaybackSupportFragment
kotlin.Any | |||
↳ | androidx.fragment.app.Fragment | ||
↳ | androidx.leanback.app.PlaybackSupportFragment | ||
↳ | androidx.leanback.app.VideoSupportFragment |
Subclass of PlaybackSupportFragment
that is responsible for providing a SurfaceView
and rendering video. See base class PlaybackSupportFragment
for how to setup controls and how to customize showing/hiding controls.
Summary
Inherited constants | |
---|---|
Public constructors | |
---|---|
<init>() Subclass of |
Public methods | |
---|---|
open SurfaceView! |
Returns the surface view. |
open View? |
onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?) |
open Unit | |
open Unit |
setSurfaceHolderCallback(callback: Callback!) |
Protected methods | |
---|---|
open Unit |
onVideoSizeChanged(width: Int, height: Int) |
Inherited functions | |
---|---|