as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

KeplerShareableSurfaceView

KeplerShareableSurfaceView

这是一个React Native组件,用于在屏幕上呈现视频帧。只有在使用VideoPlayer组件于预缓冲模式下运行时才使用此组件,在该模式下,可以同时用不同内容对多个播放器进行预缓冲。然后,应用将由onSurfaceViewCreated事件回调传递的表面句柄附加到需要呈现的视频播放器实例。

扩展

  • React.Component

构造函数

new KeplerShareableSurfaceView()

new KeplerShareableSurfaceView(props): KeplerShareableSurfaceView

参数

props

SurfaceViewProps

返回值

KeplerShareableSurfaceView

方法

componentDidMount()

componentDidMount(): void


componentWillUnmount()

componentWillUnmount(): void


render()

render(): React.ReactNode

返回值

React.ReactNode


Last updated: 2026年7月22日