mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-20 17:21:09 +00:00
add more error define
Signed-off-by: AOL <lixin113@huawei.com>
This commit is contained in:
parent
c04b4703a0
commit
ef5c58a328
6
api/@ohos.multimedia.audio.d.ts
vendored
6
api/@ohos.multimedia.audio.d.ts
vendored
@ -1944,7 +1944,8 @@ declare namespace audio {
|
||||
* @param { AudioRendererInfo } rendererInfo - Audio renderer information
|
||||
* @param { AsyncCallback<AudioDeviceDescriptors> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 401 - if input parameter type or number mismatch.
|
||||
* @throws { BusinessError } 6800101 - if input parameter value error.
|
||||
* @throws { BusinessError } 6800101 - if input parameter value error. Return by callback.
|
||||
* @throws { BusinessError } 6800301 - System error. Return by callback.
|
||||
* @syscap SystemCapability.Multimedia.Audio.Device
|
||||
* @since 10
|
||||
*/
|
||||
@ -1954,7 +1955,8 @@ declare namespace audio {
|
||||
* @param { AudioRendererInfo } rendererInfo - Audio renderer information.
|
||||
* @returns { Promise<AudioDeviceDescriptors> } Promise used to return the result.
|
||||
* @throws { BusinessError } 401 - if input parameter type or number mismatch.
|
||||
* @throws { BusinessError } 6800101 - if input parameter value error.
|
||||
* @throws { BusinessError } 6800101 - if input parameter value error. Return by promise.
|
||||
* @throws { BusinessError } 6800301 - System error. Return by promise.
|
||||
* @syscap SystemCapability.Multimedia.Audio.Device
|
||||
* @since 10
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user