# InnerAudioContext.onError(function callback)

Listens on the audio playback error event.

# Parameters

# function callback

The callback function for the audio playback error event.

# Parameters

# Object res
Property Type Description
errCode number

Valid values of errCode

Value Description Minimum Version
10001 System error
10002 Network error
10003 File error
10004 Format error
-1 Unknown error
点击咨询小助手