mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
!13698 [feature]不允许后台拉起uea补充注释说明
Merge pull request !13698 from 张亚菲/zyf
This commit is contained in:
commit
aa953be28c
@ -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.
|
||||
|
2
api/application/UIAbilityContext.d.ts
vendored
2
api/application/UIAbilityContext.d.ts
vendored
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user