401整改

Signed-off-by: shihaojie6128 <shihaojie10@huawei.com>
This commit is contained in:
shihaojie6128 2024-05-22 09:34:52 +08:00
parent 20c4185264
commit e471cad46c
2 changed files with 97 additions and 53 deletions

View File

@ -54,7 +54,8 @@ declare namespace continuationManager {
* selection module, returning the device ID,device type,
* and device name for developers to use
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
* <br>2. Incorrect parameter types. 3.Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -72,7 +73,8 @@ declare namespace continuationManager {
* selection module, returning the device ID,device type,
* and device name for developers to use
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -90,7 +92,8 @@ declare namespace continuationManager {
* @param { 'deviceSelected' } type - deviceSelected.
* @param { number } token - Registered token.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -105,7 +108,8 @@ declare namespace continuationManager {
* @param { 'deviceSelected' } type - deviceSelected.
* @param { number } token - Registered token.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -126,7 +130,8 @@ declare namespace continuationManager {
* device selection module, returning the device ID,
* device type, and device name for developers to use
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -144,7 +149,8 @@ declare namespace continuationManager {
* device selection module, returning the device ID,
* device type, and device name for developers to use
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -162,7 +168,8 @@ declare namespace continuationManager {
* @param { 'deviceUnselected' } type - deviceUnselected.
* @param { number } token - Registered token.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -177,7 +184,8 @@ declare namespace continuationManager {
* @param { 'deviceUnselected' } type - deviceUnselected.
* @param { number } token - Registered token.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @throws { BusinessError } 16600004 - The specified callback has been registered.
@ -398,7 +406,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to
* the flow management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -412,7 +421,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to
* the flow management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -431,7 +441,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to
* flow management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -447,7 +458,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to
* flow management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -466,7 +478,8 @@ declare namespace continuationManager {
* @returns { Promise<number> } callback Indicates the callback to be invoked when the continuation manager
* service is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Incorrect parameter types
* <br>2. Parameter verification failed;
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -482,7 +495,8 @@ declare namespace continuationManager {
* @returns { Promise<number> } callback Indicates the callback to be invoked when the continuation manager
* service is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Incorrect parameter types;
* <br>2. Parameter verification failed;
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -500,7 +514,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<void> } callback - The AsyncCallback form returns token generated after connecting to flow
* management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -515,7 +530,8 @@ declare namespace continuationManager {
* @param { AsyncCallback<void> } callback - The AsyncCallback form returns token generated after connecting to flow
* management service.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -532,7 +548,8 @@ declare namespace continuationManager {
* @param { number } token - Indicates the registration token of the ability.
* @returns { Promise<void> } the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -546,7 +563,8 @@ declare namespace continuationManager {
* @param { number } token - Indicates the registration token of the ability.
* @returns { Promise<void> } the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -564,7 +582,8 @@ declare namespace continuationManager {
* @param { DeviceConnectState } status - Indicates the connection state to update.
* @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -579,7 +598,8 @@ declare namespace continuationManager {
* @param { DeviceConnectState } status - Indicates the connection state to update.
* @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -603,7 +623,8 @@ declare namespace continuationManager {
* @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation manager service
* is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -619,7 +640,8 @@ declare namespace continuationManager {
* @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation manager service
* is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -635,7 +657,8 @@ declare namespace continuationManager {
* @param { number } token - Indicates the registration token of the ability.
* @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -648,7 +671,8 @@ declare namespace continuationManager {
* @param { number } token - Indicates the registration token of the ability.
* @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -666,7 +690,8 @@ declare namespace continuationManager {
* used to filter list of available devices. This parameter can be null.
* @param { AsyncCallback<void> } callback - AsyncCallback form returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -681,7 +706,8 @@ declare namespace continuationManager {
* used to filter list of available devices. This parameter can be null.
* @param { AsyncCallback<void> } callback - AsyncCallback form returns the interface call result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -703,7 +729,8 @@ declare namespace continuationManager {
* filter the list of available devices. This parameter can be null.
* @returns { Promise<void> } callback Indicates the callback to be invoked when continuation manager service is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Incorrect parameter types
* <br>2. Parameter verification failed;
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -718,7 +745,8 @@ declare namespace continuationManager {
* filter the list of available devices. This parameter can be null.
* @returns { Promise<void> } callback Indicates the callback to be invoked when continuation manager service is connected.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Incorrect parameter types;
* <br>2. Parameter verification failed;
* @throws { BusinessError } 16600001 - The system ability works abnormally.
* @throws { BusinessError } 16600002 - The specified token or callback is not registered.
* @syscap SystemCapability.Ability.DistributedAbilityManager
@ -859,7 +887,7 @@ declare namespace continuationManager {
*/
/**
* Indicates the description of transfer results for continuation.
*
* @typedef { _ContinuationResult }
* @syscap SystemCapability.Ability.DistributedAbilityManager
* @atomicservice
* @since 11
@ -874,7 +902,7 @@ declare namespace continuationManager {
*/
/**
* Indicates the description of additional parameters for continuation.
*
* @typedef { _ContinuationExtraParams }
* @syscap SystemCapability.Ability.DistributedAbilityManager
* @atomicservice
* @since 11

View File

@ -102,7 +102,8 @@ declare namespace distributedMissionManager {
* @param { MissionParameter } parameter - Parameters corresponding to mission.
* @param { AsyncCallback<void> } callback - the callback of startSyncRemoteMissions.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -116,7 +117,8 @@ declare namespace distributedMissionManager {
* @param { MissionParameter } parameter - Parameters corresponding to mission.
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -130,7 +132,8 @@ declare namespace distributedMissionManager {
* @param { MissionDeviceInfo } parameter - Parameters corresponding to mission.
* @param { AsyncCallback<void> } callback - the callback of stopSyncRemoteMissions.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -144,7 +147,8 @@ declare namespace distributedMissionManager {
* @param { MissionDeviceInfo } parameter - Parameters corresponding to mission.
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -159,7 +163,8 @@ declare namespace distributedMissionManager {
* @param { MissionCallback } options - The callbacks for registering mission.
* @param { AsyncCallback<void> } callback - the callback of registerMissionListener.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -178,7 +183,8 @@ declare namespace distributedMissionManager {
* @param { MissionCallback } options - The callbacks for registering mission.
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -192,7 +198,8 @@ declare namespace distributedMissionManager {
* @param { MissionDeviceInfo } parameter - Parameters corresponding to mission.
* @param { AsyncCallback<void> } callback - the callback of registerMissionListener.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -206,7 +213,8 @@ declare namespace distributedMissionManager {
* @param { MissionDeviceInfo } parameter - Parameters corresponding to mission.
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 9
@ -220,7 +228,8 @@ declare namespace distributedMissionManager {
* @param { 'continueStateChange' } type - Indicate the event type.
* @param { Callback<{ state: ContinueState, info: ContinuableInfo }> } callback - The callback of continueStateChange.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 10
@ -232,7 +241,8 @@ declare namespace distributedMissionManager {
* @param { 'continueStateChange' } type - Indicate the event type.
* @param { Callback<ContinueCallbackInfo> } callback - The callback of continueStateChange.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 11
@ -246,7 +256,8 @@ declare namespace distributedMissionManager {
* @param { 'continueStateChange' } type - Indicate the event type.
* @param { Callback<{ state: ContinueState, info: ContinuableInfo }> } [callback] - The callback of continueStateChange.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 10
@ -258,7 +269,8 @@ declare namespace distributedMissionManager {
* @param { 'continueStateChange' } type - Indicate the event type.
* @param { Callback<ContinueCallbackInfo> } callback - The callback of continueStateChange.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 11
@ -274,7 +286,8 @@ declare namespace distributedMissionManager {
* @param { AsyncCallback<void> } callback - the callback of continueMission.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16300501 - The system ability work abnormally.
* @throws { BusinessError } 16300502 - Failed to get the missionInfo of the specified missionId.
* @throws { BusinessError } 16300503 - The application is not installed on the remote end and installation-free is
@ -303,7 +316,8 @@ declare namespace distributedMissionManager {
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16300501 - The system ability work abnormally.
* @throws { BusinessError } 16300502 - Failed to get the missionInfo of the specified missionId.
* @throws { BusinessError } 16300503 - The application is not installed on the remote end and installation-free is
@ -327,7 +341,8 @@ declare namespace distributedMissionManager {
* @param { AsyncCallback<void> } callback - The callback of continue mission result.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16300501 - The system ability work abnormally.
* @throws { BusinessError } 16300503 - The application is not installed on the remote end and installation-free is
* not supported.
@ -351,7 +366,8 @@ declare namespace distributedMissionManager {
* @returns { Promise<void> } - the promise returned by the function.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 202 - The application is not system-app, can not use system-api.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
* @throws { BusinessError } 16300501 - The system ability work abnormally.
* @throws { BusinessError } 16300503 - The application is not installed on the remote end and installation-free is
* not supported.
@ -369,7 +385,7 @@ declare namespace distributedMissionManager {
/**
* Continuable information corresponding to ability.
*
* @typedef { _ContinuableInfo }
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 10
@ -378,7 +394,7 @@ declare namespace distributedMissionManager {
/**
* Parameters corresponding to continue mission.
*
* @typedef { _ContinueMissionInfo }
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi Hide this for inner system use.
* @since 10
@ -387,7 +403,7 @@ declare namespace distributedMissionManager {
/**
* ContinueCallback registered for notify continue result.
*
* @typedef { _ContinueCallback }
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi
* @since 10
@ -396,7 +412,7 @@ declare namespace distributedMissionManager {
/**
* Parameters corresponding to continue mission.
*
* @typedef { _ContinueDeviceInfo }
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi
* @since 10
@ -405,7 +421,7 @@ declare namespace distributedMissionManager {
/**
* MissionCallback registered by app.
*
* @typedef { _MissionCallback }
* @permission ohos.permission.MANAGE_MISSIONS
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi
@ -415,7 +431,7 @@ declare namespace distributedMissionManager {
/**
* Parameters corresponding to mission.
*
* @typedef { _MissionDeviceInfo }
* @permission ohos.permission.MANAGE_MISSIONS
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi
@ -425,7 +441,7 @@ declare namespace distributedMissionManager {
/**
* Parameters corresponding to mission.
*
* @typedef { _MissionParameter }
* @permission ohos.permission.MANAGE_MISSIONS
* @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi