diff --git a/api/application/UIAbilityContext.d.ts b/api/application/UIAbilityContext.d.ts index d8b9b4fa64dde69958a1cd5249c6be4f0cb269a1..fc832cf19e8bbc8f401d45372ec2c43f486dad2b 100644 --- a/api/application/UIAbilityContext.d.ts +++ b/api/application/UIAbilityContext.d.ts @@ -4015,6 +4015,7 @@ declare class UIAbilityContext extends Context { * you need to apply for permission:ohos.permission.START_INVISIBLE_ABILITY to start target invisible ability. * If the target ability is in cross-device, you need to apply for permission:ohos.permission.DISTRIBUTED_DATASYNC. * + * @permission ohos.permission.START_RECENT_ABILITY * @param { Want } want - Indicates the ability to start. * @param { AsyncCallback } callback - The callback of startAbility. * @throws { BusinessError } 201 - The application does not have permission to call the interface. @@ -4151,6 +4152,7 @@ declare class UIAbilityContext extends Context { * you need to apply for permission:ohos.permission.START_INVISIBLE_ABILITY to start target invisible ability. * If the target ability is in cross-device, you need to apply for permission:ohos.permission.DISTRIBUTED_DATASYNC. * + * @permission ohos.permission.START_RECENT_ABILITY * @param { Want } want - Indicates the ability to start. * @param { StartOptions } options - Indicates the start options. * @param { AsyncCallback } callback - The callback of startAbility. @@ -4290,6 +4292,7 @@ declare class UIAbilityContext extends Context { * you need to apply for permission:ohos.permission.START_INVISIBLE_ABILITY to start target invisible ability. * If the target ability is in cross-device, you need to apply for permission:ohos.permission.DISTRIBUTED_DATASYNC. * + * @permission ohos.permission.START_RECENT_ABILITY * @param { Want } want - Indicates the ability to start. * @param { StartOptions } [options] - Indicates the start options. * @returns { Promise } The promise returned by the function.