构造函数
属性
totalTime
totalTime: number = 0
访问器
isEmitting
- get isEmitting(): boolean
返回 boolean
isPaused
- get isPaused(): boolean
返回 boolean
isPlaying
- get isPlaying(): boolean
返回 boolean
isStopped
- get isStopped(): boolean
返回 boolean
方法
抽象
simulate
- simulate(time, restart): void
参数
- time: number
- restart: boolean
返回 void
播放时间(单位: 秒)