Video
Videoは、HTMLMediaElementインターフェイスを拡張するHTMLVideoElementインターフェイスを実装するReact Nativeコンポーネントです。
拡張
実装済み
コンストラクタ
new Video()
new Video(
props): Video
パラメーター
props
any
戻り値
メソッド
componentDidMount()
componentDidMount():
void
componentDidUpdate()
componentDidUpdate(prevProps:
any):void
パラメーター
prevProps
any
componentWillUnmount()
componentWillUnmount():
void
destroyMediaPlayerSync()
destroyMediaPlayerSync(timeoutInMs:
number):NativeInterfaces.MediaPlayerDeInitStatus
プレーヤーを同期的に初期化解除します
パラメーター
timeoutInMs
number
クライアントが設定したタイムアウトしきい値
戻り値
NativeInterfaces.MediaPlayerDeInitStatus
MediaPlayerDeInitStatus
getVideoPlaybackQuality()
getVideoPlaybackQuality():
VideoPlaybackQuality
ビデオの再生品質属性を取得します。
戻り値
VideoPlaybackQuality
handleEvent()
handleEvent(event:
NativeInterfaces.NativeMediaElementEvent):void
パラメーター
event
NativeInterfaces.NativeMediaElementEvent
onSurfaceCreated()
onSurfaceCreated(surfaceHandle:
string):void
パラメーター
surfaceHandle
string
onSurfaceDestroyed()
onSurfaceDestroyed(surfaceHandle:
string):void
パラメーター
surfaceHandle
string
onSurfaceMounted()
onSurfaceMounted():
void
onSurfaceUnmounted()
onSurfaceUnmounted():
void
render()
render():
any
戻り値
any
Last updated: 2026年7月31日

