as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Video is a react native component that implements the HTMLVideoElement interface that extends the HTMLMediaElement interface.

Extends

Implements

Constructors

new Video()

new Video(props): Video

Parameters

props
any

Returns

Video

Methods

componentDidMount()

componentDidMount(): void

componentDidUpdate()

componentDidUpdate(prevProps: any): void

Parameters

prevProps
any

componentWillUnmount()

componentWillUnmount(): void

destroyMediaPlayerSync()

destroyMediaPlayerSync(timeoutInMs: number): NativeInterfaces.MediaPlayerDeInitStatus
DeInitiailzes the player synchronously

Parameters

timeoutInMs
number timeout threshold set by client

Returns

NativeInterfaces.MediaPlayerDeInitStatus MediaPlayerDeInitStatus

getVideoPlaybackQuality()

getVideoPlaybackQuality(): VideoPlaybackQuality
Fetches video playback quality attributes.

Returns

VideoPlaybackQuality

handleEvent()

handleEvent(event: NativeInterfaces.NativeMediaElementEvent): void

Parameters

event
NativeInterfaces.NativeMediaElementEvent

onSurfaceCreated()

onSurfaceCreated(surfaceHandle: string): void

Parameters

surfaceHandle
string

onSurfaceDestroyed()

onSurfaceDestroyed(surfaceHandle: string): void

Parameters

surfaceHandle
string

onSurfaceMounted()

onSurfaceMounted(): void

onSurfaceUnmounted()

onSurfaceUnmounted(): void

render()

render(): any

Returns

any
最后修改于 2026年8月25日