codecamp

InnerAudioContext.onError

InnerAudioContext.onError(function callback)

监听音频播放错误事件


输入

callback

监听事件的回调函数

callback 回调函数

输入

res

属性类型说明支持版本
errCodenumber
说明
10001系统错误
10002网络错误
10003文件错误
10004格式错误
-1未知错误
InnerAudioContext.onEnded
InnerAudioContext.onWaiting
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定