mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
Bugfix: 元能力错误码英文语法整改
Signed-off-by: xuzhihao <xuzhihao16@huawei.com>
This commit is contained in:
parent
7377ecc341
commit
71316ada1d
@ -40,7 +40,7 @@ export default class InsightIntentContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -70,7 +70,7 @@ export default class InsightIntentContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
|
10
api/@ohos.app.ability.UIAbility.d.ts
vendored
10
api/@ohos.app.ability.UIAbility.d.ts
vendored
@ -104,7 +104,7 @@ export interface Caller {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16200001 - Caller released. The caller has been released.
|
||||
* @throws { BusinessError } 16200002 - Callee invalid. The callee does not exist.
|
||||
* @throws { BusinessError } 16200002 - The callee does not exist.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @StageModelOnly
|
||||
@ -121,7 +121,7 @@ export interface Caller {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16200001 - Caller released. The caller has been released.
|
||||
* @throws { BusinessError } 16200002 - Callee invalid. The callee does not exist.
|
||||
* @throws { BusinessError } 16200002 - The callee does not exist.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @StageModelOnly
|
||||
@ -133,7 +133,7 @@ export interface Caller {
|
||||
* Register the generic component server Stub (stub) disconnect listening notification.
|
||||
*
|
||||
* @throws { BusinessError } 16200001 - Caller released. The caller has been released.
|
||||
* @throws { BusinessError } 16200002 - Callee invalid. The callee does not exist.
|
||||
* @throws { BusinessError } 16200002 - The callee does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @StageModelOnly
|
||||
* @since 9
|
||||
@ -222,7 +222,7 @@ export interface Callee {
|
||||
* @param { CalleeCallback } callback - Register a callback function that listens for notification events.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16200004 - Method registered. The method has registered.
|
||||
* @throws { BusinessError } 16200004 - The method has been registered.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @StageModelOnly
|
||||
@ -236,7 +236,7 @@ export interface Callee {
|
||||
* @param { string } method - A string registered to listen for notification events.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16200005 - Method not registered. The method has not registered.
|
||||
* @throws { BusinessError } 16200005 - The method has not been registered.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @StageModelOnly
|
||||
|
@ -122,7 +122,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -158,7 +158,7 @@ export default class UIExtensionContentSession {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -194,7 +194,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -230,7 +230,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -266,7 +266,7 @@ export default class UIExtensionContentSession {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -302,7 +302,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -338,7 +338,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -374,7 +374,7 @@ export default class UIExtensionContentSession {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -410,7 +410,7 @@ export default class UIExtensionContentSession {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
|
2
api/@ohos.app.ability.appManager.d.ts
vendored
2
api/@ohos.app.ability.appManager.d.ts
vendored
@ -979,7 +979,7 @@ declare namespace appManager {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000072 - App clone or multi-instance is not supported.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist or no patch has been applied.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @systemapi
|
||||
* @stagemodelonly
|
||||
|
@ -80,7 +80,7 @@ declare namespace autoStartupManager {
|
||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api.
|
||||
* @throws { BusinessError } 401 - The parameter check failed. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameters types.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -101,7 +101,7 @@ declare namespace autoStartupManager {
|
||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api.
|
||||
* @throws { BusinessError } 401 - The parameter check failed. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameters types.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -122,7 +122,7 @@ declare namespace autoStartupManager {
|
||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api.
|
||||
* @throws { BusinessError } 401 - The parameter check failed. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameters types.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -143,7 +143,7 @@ declare namespace autoStartupManager {
|
||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api.
|
||||
* @throws { BusinessError } 401 - The parameter check failed. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameters types.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
|
@ -71,7 +71,7 @@ declare namespace childProcessManager {
|
||||
* 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported.
|
||||
* @throws { BusinessError } 16000062 - The number of child process exceeds upper bound.
|
||||
* @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 11
|
||||
@ -88,7 +88,7 @@ declare namespace childProcessManager {
|
||||
* 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported.
|
||||
* @throws { BusinessError } 16000062 - The number of child process exceeds upper bound.
|
||||
* @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 11
|
||||
@ -123,7 +123,7 @@ declare namespace childProcessManager {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported. The API cannot be called in a child process.
|
||||
* @throws { BusinessError } 16000062 - The number of native child process exceeds upper bound.
|
||||
* @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 13
|
||||
@ -142,7 +142,7 @@ declare namespace childProcessManager {
|
||||
* @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported. The API cannot be called in a child process.
|
||||
* @throws { BusinessError } 16000062 - The number of native child process exceeds upper bound.
|
||||
* @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 13
|
||||
|
6
api/@ohos.app.ability.errorManager.d.ts
vendored
6
api/@ohos.app.ability.errorManager.d.ts
vendored
@ -58,7 +58,7 @@ declare namespace errorManager {
|
||||
* @returns { number } Returns the number code of the observer.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000003 - Id does not exist.
|
||||
* @throws { BusinessError } 16000003 - The specified ID does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
@ -85,7 +85,7 @@ declare namespace errorManager {
|
||||
* @param { AsyncCallback<void> } callback - The callback of off.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000003 - Id does not exist.
|
||||
* @throws { BusinessError } 16000003 - The specified ID does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
@ -112,7 +112,7 @@ declare namespace errorManager {
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000003 - Id does not exist.
|
||||
* @throws { BusinessError } 16000003 - The specified ID does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
|
@ -133,7 +133,7 @@ declare namespace insightIntentDriver {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -166,7 +166,7 @@ declare namespace insightIntentDriver {
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
|
4
api/@ohos.app.ability.missionManager.d.ts
vendored
4
api/@ohos.app.ability.missionManager.d.ts
vendored
@ -61,7 +61,7 @@ declare namespace missionManager {
|
||||
* @throws { BusinessError } 202 - Not system application.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16300002 - Input error. The specified mission listener does not exist.
|
||||
* @throws { BusinessError } 16300002 - The specified mission listener does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -79,7 +79,7 @@ declare namespace missionManager {
|
||||
* @throws { BusinessError } 202 - Not system application.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16300002 - Input error. The specified mission listener does not exist.
|
||||
* @throws { BusinessError } 16300002 - The specified mission listener does not exist.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
|
||||
* @systemapi
|
||||
* @since 9
|
||||
|
12
api/@ohos.app.ability.quickFixManager.d.ts
vendored
12
api/@ohos.app.ability.quickFixManager.d.ts
vendored
@ -196,8 +196,8 @@ declare namespace quickFixManager {
|
||||
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 18500001 - The bundle is not exist or no patch has applied.
|
||||
* @throws { BusinessError } 18500009 - The application has a apply quick fix task that is being processed.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist or no patch has been applied.
|
||||
* @throws { BusinessError } 18500009 - The application has an ongoing quick fix task.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.QuickFix
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -214,8 +214,8 @@ declare namespace quickFixManager {
|
||||
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 18500001 - The bundle is not exist or no patch has applied.
|
||||
* @throws { BusinessError } 18500009 - The application has a apply quick fix task that is being processed.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist or no patch has been applied.
|
||||
* @throws { BusinessError } 18500009 - The application has an ongoing quick fix task.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.QuickFix
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -232,7 +232,7 @@ declare namespace quickFixManager {
|
||||
* @throws { BusinessError } 202 - Not system application.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 18500001 - The specified bundleName is invalid.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist or no patch has been applied.
|
||||
* @throws { BusinessError } 18500008 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.QuickFix
|
||||
* @systemapi
|
||||
@ -250,7 +250,7 @@ declare namespace quickFixManager {
|
||||
* @throws { BusinessError } 202 - Not system application.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 18500001 - The specified bundleName is invalid.
|
||||
* @throws { BusinessError } 18500001 - The bundle does not exist or no patch has been applied.
|
||||
* @throws { BusinessError } 18500008 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.QuickFix
|
||||
* @systemapi
|
||||
|
24
api/@ohos.app.ability.wantAgent.d.ts
vendored
24
api/@ohos.app.ability.wantAgent.d.ts
vendored
@ -60,7 +60,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<string> } callback - The callback is used to return the bundle name.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -87,7 +87,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<string> } Returns the bundle name.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -114,7 +114,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<number> } callback - The callback is used to return the UID.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -141,7 +141,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<number> } Returns the UID.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -156,7 +156,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<Want> } callback - The callback is used to return the Want.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000015 - Service timeout.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -172,7 +172,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<Want> } Returns the Want.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000015 - Service timeout.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -200,7 +200,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<void> } callback - The callback of cancel.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -227,7 +227,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -329,7 +329,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<WantAgent> } callback - The callback is used to return the created WantAgent.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -356,7 +356,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<WantAgent> } Returns the created WantAgent.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @atomicservice
|
||||
@ -384,7 +384,7 @@ declare namespace wantAgent {
|
||||
* @param { AsyncCallback<number> } callback - The callback is used to return the OperationType of the WantAgent.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000015 - Service timeout.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -413,7 +413,7 @@ declare namespace wantAgent {
|
||||
* @returns { Promise<number> } Returns the OperationType of the WantAgent.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000007 - Service busy, there are concurrent tasks, waiting for retry.
|
||||
* @throws { BusinessError } 16000007 - Service busy. There are concurrent tasks. Try again later.
|
||||
* @throws { BusinessError } 16000015 - Service timeout.
|
||||
* @throws { BusinessError } 16000151 - Invalid wantagent object.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
|
@ -47,7 +47,7 @@ declare namespace uriPermissionManager {
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000058 - Invalid URI flag.
|
||||
* @throws { BusinessError } 16000059 - Invalid URI type.
|
||||
* @throws { BusinessError } 16000060 - Sandbox application can not grant URI permission.
|
||||
* @throws { BusinessError } 16000060 - A sandbox application cannot grant URI permission.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @systemapi hide this for inner system use.
|
||||
* @since 10
|
||||
@ -77,7 +77,7 @@ declare namespace uriPermissionManager {
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000058 - Invalid URI flag.
|
||||
* @throws { BusinessError } 16000059 - Invalid URI type.
|
||||
* @throws { BusinessError } 16000060 - Sandbox application can not grant URI permission.
|
||||
* @throws { BusinessError } 16000060 - A sandbox application cannot grant URI permission.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @systemapi hide this for inner system use.
|
||||
* @since 10
|
||||
|
60
api/application/AbilityDelegator.d.ts
vendored
60
api/application/AbilityDelegator.d.ts
vendored
@ -79,7 +79,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object
|
||||
* @param { AsyncCallback<void> } callback - The callback of addAbilityMonitor.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -114,7 +114,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -137,7 +137,7 @@ export interface AbilityDelegator {
|
||||
*
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityMonitorSync failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityMonitorSync failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -172,7 +172,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @param { AsyncCallback<void> } callback - The callback of addAbilityStageMonitor.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -207,7 +207,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -230,7 +230,7 @@ export interface AbilityDelegator {
|
||||
*
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - AddAbilityStageMonitorSync failed.
|
||||
* @throws { BusinessError } 16000100 - Calling AddAbilityStageMonitorSync failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -265,7 +265,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object.
|
||||
* @param { AsyncCallback<void> } callback - The callback of removeAbilityMonitor.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -300,7 +300,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -323,7 +323,7 @@ export interface AbilityDelegator {
|
||||
*
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityMonitorSync failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityMonitorSync failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -358,7 +358,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @param { AsyncCallback<void> } callback - The callback of removeAbilityStageMonitor.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -393,7 +393,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -416,7 +416,7 @@ export interface AbilityDelegator {
|
||||
*
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - RemoveAbilityStageMonitorSync failed.
|
||||
* @throws { BusinessError } 16000100 - Calling RemoveAbilityStageMonitorSync failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -451,7 +451,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityMonitor } monitor - AbilityMonitor object.
|
||||
* @param { AsyncCallback<UIAbility> } callback - The callback is used to return the Ability object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -489,7 +489,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } timeout - Maximum wait time, in milliseconds.
|
||||
* @param { AsyncCallback<UIAbility> } callback - The callback is used to return the Ability object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -527,7 +527,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } [timeout] - Maximum wait time, in milliseconds.
|
||||
* @returns { Promise<UIAbility> } Returns the Ability object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -562,7 +562,7 @@ export interface AbilityDelegator {
|
||||
* @param { AbilityStageMonitor } monitor - AbilityStageMonitor object.
|
||||
* @param { AsyncCallback<AbilityStage> } callback - The callback is used to return the AbilityStage object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -600,7 +600,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } timeout - Maximum wait time, in milliseconds.
|
||||
* @param { AsyncCallback<AbilityStage> } callback - The callback is used to return the AbilityStage object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -638,7 +638,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } [timeout] - Maximum wait time, in milliseconds.
|
||||
* @returns { Promise<AbilityStage> } Returns the AbilityStage object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - WaitAbilityStageMonitor failed.
|
||||
* @throws { BusinessError } 16000100 - Calling WaitAbilityStageMonitor failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -728,7 +728,7 @@ export interface AbilityDelegator {
|
||||
*
|
||||
* @param { AsyncCallback<UIAbility> } callback - The callback is used to return the Ability object.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - GetCurrentTopAbility failed.
|
||||
* @throws { BusinessError } 16000100 - Calling GetCurrentTopAbility failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -757,7 +757,7 @@ export interface AbilityDelegator {
|
||||
* Obtain the ability that is currently being displayed in this process.
|
||||
*
|
||||
* @returns { Promise<UIAbility> } Returns the Ability object.
|
||||
* @throws { BusinessError } 16000100 - GetCurrentTopAbility failed.
|
||||
* @throws { BusinessError } 16000100 - Calling GetCurrentTopAbility failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -820,12 +820,12 @@ export interface AbilityDelegator {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000009 - An ability cannot be started or stopped in Wukong mode.
|
||||
* @throws { BusinessError } 16000010 - The call with the continuation and prepare continuation flag is forbidden.
|
||||
* @throws { BusinessError } 16000010 - The call with the continuation flag is forbidden.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
@ -895,12 +895,12 @@ export interface AbilityDelegator {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000009 - An ability cannot be started or stopped in Wukong mode.
|
||||
* @throws { BusinessError } 16000010 - The call with the continuation and prepare continuation flag is forbidden.
|
||||
* @throws { BusinessError } 16000010 - The call with the continuation flag is forbidden.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
@ -942,7 +942,7 @@ export interface AbilityDelegator {
|
||||
* @param { UIAbility } ability - The ability object.
|
||||
* @param { AsyncCallback<void> } callback - The callback of doAbilityForeground.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - DoAbilityForeground failed.
|
||||
* @throws { BusinessError } 16000100 - Calling DoAbilityForeground failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -977,7 +977,7 @@ export interface AbilityDelegator {
|
||||
* @param { UIAbility } ability - The ability object.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - DoAbilityForeground failed.
|
||||
* @throws { BusinessError } 16000100 - Calling DoAbilityForeground failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1012,7 +1012,7 @@ export interface AbilityDelegator {
|
||||
* @param { UIAbility } ability - The ability object.
|
||||
* @param { AsyncCallback<void> } callback - The callback of doAbilityBackground.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - DoAbilityBackground failed.
|
||||
* @throws { BusinessError } 16000100 - Calling DoAbilityBackground failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1047,7 +1047,7 @@ export interface AbilityDelegator {
|
||||
* @param { UIAbility } ability - The ability object.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - DoAbilityBackground failed.
|
||||
* @throws { BusinessError } 16000100 - Calling DoAbilityBackground failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1245,7 +1245,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } code - Result code.
|
||||
* @param { AsyncCallback<void> } callback - The callback of finishTest.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - FinishTest failed.
|
||||
* @throws { BusinessError } 16000100 - Calling FinishTest failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1286,7 +1286,7 @@ export interface AbilityDelegator {
|
||||
* @param { number } code - Result code.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000100 - FinishTest failed.
|
||||
* @throws { BusinessError } 16000100 - Calling FinishTest failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
4
api/application/ApplicationContext.d.ts
vendored
4
api/application/ApplicationContext.d.ts
vendored
@ -484,7 +484,7 @@ export default class ApplicationContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000063 - The target to restart does not belong to the current app or is not a UIAbility.
|
||||
* @throws { BusinessError } 16000063 - The target to restart does not belong to the current application or is not a UIAbility.
|
||||
* @throws { BusinessError } 16000064 - Restart too frequently. Try again at least 10s later.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
@ -504,7 +504,7 @@ export default class ApplicationContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
|
76
api/application/ServiceExtensionContext.d.ts
vendored
76
api/application/ServiceExtensionContext.d.ts
vendored
@ -145,7 +145,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -154,7 +154,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -281,7 +281,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -289,7 +289,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -421,7 +421,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -430,7 +430,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -467,7 +467,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -476,7 +476,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @systemapi
|
||||
@ -570,7 +570,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -681,7 +681,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -796,7 +796,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -916,7 +916,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -925,7 +925,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1065,7 +1065,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1073,7 +1073,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1188,7 +1188,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1197,7 +1197,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1283,14 +1283,14 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -1366,14 +1366,14 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -1455,14 +1455,14 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -1544,14 +1544,14 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -1596,7 +1596,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -1644,7 +1644,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -1697,7 +1697,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -1750,7 +1750,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -1864,7 +1864,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1924,7 +1924,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2011,7 +2011,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -2042,7 +2042,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2130,7 +2130,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2228,7 +2228,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2328,7 +2328,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2478,13 +2478,13 @@ export default class ServiceExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
|
138
api/application/UIAbilityContext.d.ts
vendored
138
api/application/UIAbilityContext.d.ts
vendored
@ -299,7 +299,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -308,8 +308,8 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -464,7 +464,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 801 - Capability not support.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -472,13 +472,13 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
* @throws { BusinessError } 16000067 - Start options check failed.
|
||||
* @throws { BusinessError } 16000068 - Ability already running.
|
||||
* @throws { BusinessError } 16000067 - The StartOptions check failed.
|
||||
* @throws { BusinessError } 16000068 - The ability is already running.
|
||||
* @throws { BusinessError } 16000071 - App clone is not supported.
|
||||
* @throws { BusinessError } 16000072 - App clone or multi-instance is not supported.
|
||||
* @throws { BusinessError } 16000073 - The app clone index is invalid.
|
||||
@ -638,7 +638,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 801 - Capability not support.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -647,13 +647,13 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
* @throws { BusinessError } 16000067 - Start options check failed.
|
||||
* @throws { BusinessError } 16000068 - Ability already running.
|
||||
* @throws { BusinessError } 16000067 - The StartOptions check failed.
|
||||
* @throws { BusinessError } 16000068 - The ability is already running.
|
||||
* @throws { BusinessError } 16000071 - App clone is not supported.
|
||||
* @throws { BusinessError } 16000072 - App clone or multi-instance is not supported.
|
||||
* @throws { BusinessError } 16000073 - The app clone index is invalid.
|
||||
@ -686,7 +686,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -695,7 +695,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -790,7 +790,7 @@ export default class UIAbilityContext extends Context {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -901,7 +901,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1016,7 +1016,7 @@ export default class UIAbilityContext extends Context {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1164,13 +1164,13 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000071 - App clone is not supported.
|
||||
* @throws { BusinessError } 16000072 - App clone or multi-instance is not supported.
|
||||
@ -1269,7 +1269,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1382,7 +1382,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1391,7 +1391,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1527,7 +1527,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1535,7 +1535,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1647,7 +1647,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1656,7 +1656,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1811,7 +1811,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1820,8 +1820,8 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -1974,7 +1974,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 201 - The application does not have permission to call the interface.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -1982,8 +1982,8 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -2143,7 +2143,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2152,8 +2152,8 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -2280,7 +2280,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2289,7 +2289,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -2425,7 +2425,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2433,7 +2433,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -2569,7 +2569,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -2578,7 +2578,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -2661,14 +2661,14 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -2741,14 +2741,14 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -2827,14 +2827,14 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -2913,14 +2913,14 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -2963,7 +2963,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -3011,7 +3011,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -3062,7 +3062,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -3113,7 +3113,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
@ -3352,7 +3352,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -3403,7 +3403,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -3766,7 +3766,7 @@ export default class UIAbilityContext extends Context {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -3901,7 +3901,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -4040,7 +4040,7 @@ export default class UIAbilityContext extends Context {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -4105,7 +4105,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -4162,7 +4162,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -4388,7 +4388,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @returns { Promise<AbilityResult> } Returns the result of openAtomicService.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000003 - The appId does not exist.
|
||||
* @throws { BusinessError } 16000003 - The specified ID does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
@ -4410,8 +4410,8 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported.
|
||||
* @throws { BusinessError } 16000065 - The interface can be called only when ability is foreground.
|
||||
* @throws { BusinessError } 16000066 - An ability cannot move to foreground or background in Wukong mode.
|
||||
* @throws { BusinessError } 16000065 - The API can be called only when the ability is running in the foreground.
|
||||
* @throws { BusinessError } 16000066 - An ability cannot switch to the foreground or background in Wukong mode.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @atomicservice
|
||||
@ -4426,7 +4426,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 801 - Capability not support.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000067 - Start options check failed.
|
||||
* @throws { BusinessError } 16000067 - The StartOptions check failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 12
|
||||
@ -4440,7 +4440,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 801 - Capability not support.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000067 - Start options check failed.
|
||||
* @throws { BusinessError } 16000067 - The StartOptions check failed.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 12
|
||||
@ -4475,13 +4475,13 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -4506,7 +4506,7 @@ export default class UIAbilityContext extends Context {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
|
54
api/application/UIExtensionContext.d.ts
vendored
54
api/application/UIExtensionContext.d.ts
vendored
@ -119,7 +119,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -128,8 +128,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -229,7 +229,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 201 - The application does not have permission to call the interface.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -237,8 +237,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -343,7 +343,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -352,8 +352,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -390,7 +390,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -399,7 +399,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000069 - The extension cannot start the third party application.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
@ -490,7 +490,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -499,8 +499,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -600,7 +600,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 201 - The application does not have permission to call the interface.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -608,8 +608,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -714,7 +714,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -723,8 +723,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000018 - The application is not allow jumping to other applications.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000018 - Redirection to a third-party application is not allowed in API version 11 or later.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000053 - The ability is not on the top of the UI.
|
||||
* @throws { BusinessError } 16000055 - Installation-free timed out.
|
||||
@ -785,7 +785,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 202 - Not System App. Interface caller is not a system app.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000069 - The extension cannot start the third party application.
|
||||
* @throws { BusinessError } 16000070 - The extension cannot start the service.
|
||||
@ -818,7 +818,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -926,8 +926,8 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @returns { Promise<AbilityResult> } Returns the result of openAtomicService.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000003 - The appId does not exist.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component
|
||||
* @throws { BusinessError } 16000003 - The specified ID does not exist.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
@ -953,13 +953,13 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
* @throws { BusinessError } 16000012 - The application is controlled.
|
||||
* @throws { BusinessError } 16000013 - The application is controlled by EDM.
|
||||
* @throws { BusinessError } 16000019 - Can not match any component.
|
||||
* @throws { BusinessError } 16000019 - No matching ability is found.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16200001 - The caller has been released.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
@ -983,7 +983,7 @@ export default class UIExtensionContext extends ExtensionContext {
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
* @throws { BusinessError } 16000011 - The context does not exist.
|
||||
|
@ -50,7 +50,7 @@ export default class UIServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
@ -121,7 +121,7 @@ export default class UIServiceExtensionContext extends ExtensionContext {
|
||||
* 2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 16000001 - The specified ability does not exist.
|
||||
* @throws { BusinessError } 16000002 - Incorrect ability type.
|
||||
* @throws { BusinessError } 16000004 - Can not start invisible component.
|
||||
* @throws { BusinessError } 16000004 - Failed to start the invisible ability.
|
||||
* @throws { BusinessError } 16000005 - The specified process does not have the permission.
|
||||
* @throws { BusinessError } 16000006 - Cross-user operations are not allowed.
|
||||
* @throws { BusinessError } 16000008 - The crowdtesting application expires.
|
||||
|
Loading…
Reference in New Issue
Block a user