mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
Description: 错误码整改
Feature or Bugfix: Feature Binary Source:No Signed-off-by:dzq<dongziqian2@huawei.com>
This commit is contained in:
parent
48ec874e44
commit
2ae2adb10b
8
api/@ohos.advertising.d.ts
vendored
8
api/@ohos.advertising.d.ts
vendored
@ -551,7 +551,7 @@ declare namespace advertising {
|
||||
* @param { AdLoadListener } listener - Indicates the listener to be registered that use to load ad.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||
* <br>2. Incorrect parameter types. 3.Parameter verification failed
|
||||
* @throws { BusinessError } 801 - Device not support.
|
||||
* @throws { BusinessError } 801 - Device not supported.
|
||||
* @throws { BusinessError } 21800001 - System internal error.
|
||||
* @throws { BusinessError } 21800003 - Failed to load the ad request.
|
||||
* @syscap SystemCapability.Advertising.Ads
|
||||
@ -581,7 +581,7 @@ declare namespace advertising {
|
||||
* @param { MultiSlotsAdLoadListener } listener - Indicates the listener to be registered that use to load ad.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||
* <br>2. Incorrect parameter types. 3.Parameter verification failed
|
||||
* @throws { BusinessError } 801 - Device not support.
|
||||
* @throws { BusinessError } 801 - Device not supported.
|
||||
* @throws { BusinessError } 21800001 - System internal error.
|
||||
* @throws { BusinessError } 21800003 - Failed to load the ad request.
|
||||
* @syscap SystemCapability.Advertising.Ads
|
||||
@ -597,7 +597,7 @@ declare namespace advertising {
|
||||
* @param { AdOptions } adOptions - Indicates the ad options.
|
||||
* @returns { Promise<string> } The promise of ad request message body.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||
* @throws { BusinessError } 801 - Device not support.
|
||||
* @throws { BusinessError } 801 - Device not supported.
|
||||
* @throws { BusinessError } 21800001 - System internal error.
|
||||
* @syscap SystemCapability.Advertising.Ads
|
||||
* @since 12
|
||||
@ -610,7 +610,7 @@ declare namespace advertising {
|
||||
* @param { MultiSlotsAdLoadListener } listener - Indicates the listener to be registered that use to load ad.
|
||||
* @param { common.UIAbilityContext } context - Indicates the ui ability context of the media application.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter.Possible causes: 1. Mandatory parameters are left unspecified.
|
||||
* @throws { BusinessError } 801 - Device not support.
|
||||
* @throws { BusinessError } 801 - Device not supported.
|
||||
* @throws { BusinessError } 21800001 - System internal error.
|
||||
* @throws { BusinessError } 21800005 - Failed to parse the ad response.
|
||||
* @syscap SystemCapability.Advertising.Ads
|
||||
|
4
api/@ohos.identifier.oaid.d.ts
vendored
4
api/@ohos.identifier.oaid.d.ts
vendored
@ -60,9 +60,9 @@ declare namespace identifier {
|
||||
/**
|
||||
* Reset the OAID.
|
||||
* A new OAID will be generated after reset.
|
||||
* @throws { BusinessError } 202 - Not system app error.
|
||||
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
||||
* @throws { BusinessError } 17300001 - System internal error.
|
||||
* @throws { BusinessError } 17300002 - Not in trust list error.
|
||||
* @throws { BusinessError } 17300002 - Not in the trust list.
|
||||
* @syscap SystemCapability.Advertising.OAID
|
||||
* @systemapi
|
||||
* @since 12
|
||||
|
Loading…
Reference in New Issue
Block a user