Console
as
Support
Contact Us
My Cases
Settings
Sign out
Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
版本 2.0(最新)
提供Kepler播放器服务器实例的组件。
getOrMakeServer(): IPlayerServer
IPlayerServer
// 用法示例 import { PlayerServerFactory, IPlayerServer } from '@amzn/kepler-player-server'; const playerServerRef = useRef<IPlayerClient | null>(null); const playerServerFactory = new PlayerServerFactory(); if (playerServerRef.current == null) { playerServerRef.current = playerServerFactory.getOrMakeServer(); }
此页面对您有帮助吗?