KeplerShareableSurfaceView
KeplerShareableSurfaceView
这是一个React Native组件,用于在屏幕上呈现视频帧。只有在使用VideoPlayer组件于预缓冲模式下运行时才使用此组件,在该模式下,可以同时用不同内容对多个播放器进行预缓冲。然后,应用将由onSurfaceViewCreated事件回调传递的表面句柄附加到需要呈现的视频播放器实例。
扩展
React.Component
构造函数
new KeplerShareableSurfaceView()
new KeplerShareableSurfaceView(
props): KeplerShareableSurfaceView
参数
props
SurfaceViewProps
返回值
方法
componentDidMount()
componentDidMount():
void
componentWillUnmount()
componentWillUnmount():
void
render()
render():
React.ReactNode
返回值
React.ReactNode
Last updated: 2026年7月22日

