Skip to content

BulletScreenEngine addBulletScreen 方法

scottxu edited this page Jan 6, 2019 · 1 revision

描述

添加弹幕到弹幕列表。

由于弹幕在屏幕上出现过后,弹幕引擎将从列表中彻底删除此弹幕。所以,在改变播放进度时,可能需要先清空弹幕列表,然后重新加载此播放进度以后的弹幕。

语法

bulletScreenEngine.addBulletScreen(bulletScreen);

参数

bulletScreen bulletScreen 结构

单条弹幕数据

返回值

Clone this wiki locally