定义声音类,用于控制声音的播放。
Defines the Sound class, used to control sound playback.
暂停当前播放。
Pauses the current playback.
恢复播放。
Resumes playback.
可选参数,指定从哪个时间点开始恢复播放。如果不提供,则从上次暂停处继续。
Optional parameter, specifies the time point from which to resume playback. If not provided, playback continues from where it was last paused.
设置当前播放时间,允许精确控制播放进度。
Sets the current playback time, allowing for precise control over the playback progress.
必需参数,指定要跳转到的播放时间点。
Required parameter, specifies the time point to jump to.
停止当前播放,并将播放进度重置到初始状态。
Stops the current playback and resets the playback progress to the initial state.
Zh
定义声音类,用于控制声音的播放。
En
Defines the Sound class, used to control sound playback.