diff --git a/api/application/UIExtensionContext.d.ts b/api/application/UIExtensionContext.d.ts index 46bd0450b668cafda889ef2f36ada5127a28d450..112c8d616f50b29e6e44b75c33b5f2b700fc299b 100755 --- a/api/application/UIExtensionContext.d.ts +++ b/api/application/UIExtensionContext.d.ts @@ -498,7 +498,6 @@ declare class UIExtensionContext extends ExtensionContext { * @param { Want } want - Indicates the ability to start. * @param { AsyncCallback } callback - The callback is used to return the result of startAbility. * @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 } 16000002 - Incorrect ability type. * @throws { BusinessError } 16000004 - Cannot start an invisible component. @@ -1037,7 +1036,6 @@ declare class UIExtensionContext extends ExtensionContext { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 201 - The application does not have permission to call the interface. * @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 } 16000002 - Incorrect ability type. * @throws { BusinessError } 16000004 - Cannot start an invisible component. @@ -1070,7 +1068,6 @@ declare class UIExtensionContext extends ExtensionContext { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 201 - The application does not have permission to call the interface. * @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 } 16000002 - Incorrect ability type. * @throws { BusinessError } 16000004 - Cannot start an invisible component. @@ -1091,7 +1088,7 @@ declare class UIExtensionContext extends ExtensionContext { startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise; /** - * Set the uiextension to either not allow being covered by the host page or allow it. + * Set the uiextension to either not allow being covered by the host page or allow it. * * @param { boolean } isForbidden - Indicates the bool value of uiextension can be covered by host page. * True indicates not allowing.