PlayerUpdatedInfo
媒体播放器相关信息。
public class PlayerUpdatedInfo { public String playerId; public String deviceId; public CacheStatistics cacheStatistics; }
属性
- playerId
- 播放器 ID,标识一个播放器。
- deviceId
- 设备 ID,标识一个设备。
- cacheStatistics
-
当前缓存的媒体文件的相关统计数据。
调用 openWithMediaSource 方法且设置 enableCache 成员为
true
后,当前缓存的媒体文件的相关统计数据会在媒体文件开始播放后每秒更新一次,详见 CacheStatistics。