!13698 [feature]不允许后台拉起uea补充注释说明

Merge pull request !13698 from 张亚菲/zyf
This commit is contained in:
openharmony_ci 2024-08-30 09:29:12 +00:00 committed by Gitee
commit aa953be28c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 0 deletions

View File

@ -548,6 +548,7 @@ export default class UIExtensionContentSession {
*/
/**
* Starts the UIAbility or UIExtensionAbility by type.
* If the caller application is in the background, it is not allowed to call this interface.
*
* @param { string } type - The type of target ability.
* @param { Record<string, Object> } wantParam - Indicates the want parameter.
@ -586,6 +587,7 @@ export default class UIExtensionContentSession {
*/
/**
* Starts the UIAbility or UIExtensionAbility by type.
* If the caller application is in the background, it is not allowed to call this interface.
*
* @param { string } type - The type of target ability.
* @param { Record<string, Object> } wantParam - Indicates the want parameter.

View File

@ -3403,6 +3403,7 @@ export default class UIAbilityContext extends Context {
*/
/**
* Starts the UIAbility or UIExtensionAbility by type.
* If the caller application is in the background, it is not allowed to call this interface.
*
* @param { string } type - The type of target ability.
* @param { Record<string, Object> } wantParam - Indicates the want parameter.
@ -3443,6 +3444,7 @@ export default class UIAbilityContext extends Context {
*/
/**
* Starts the UIAbility or UIExtensionAbility by type.
* If the caller application is in the background, it is not allowed to call this interface.
*
* @param { string } type - The type of target ability.
* @param { Record<string, Object> } wantParam - Indicates the want parameter.

View File

@ -86,6 +86,7 @@ export default class UIServiceExtensionContext extends ExtensionContext {
* Starts the UIAbility or UIExtensionAbility by type.
* If the target ability is visible, you can start the target ability; If the target ability is invisible,
* you need to apply for permission:ohos.permission.START_INVISIBLE_ABILITY to start target invisible ability.
* If the caller application is in the background, it is not allowed to call this interface.
*
* @param { string } type - The type of target ability.
* @param { Record<string, Object> } wantParam - Indicates the want parameter.