IPlayerSessionPositionListener
IPlayerSessionPositionListener
一个侦听器,用于接收播放器会话位置更新。
属性
onPositionUpdated()
onPositionUpdated: (
updatedPosition) =>void
由PlayerServer按照使用IPlayerClient.registerPositionListener设定的间隔调用。
要停止接收此回调,用户需要取消订阅IPlayerClient.registerPositionListener返回的ISubscription对象。
参数
updatedPosition
IPlayerSessionPosition[]
所有播放器会话的播放位置。
返回值
void
Last updated: 2025年10月2日

