From 186afb31e014eeba736e4ad34203cfb7e4944cc9 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 16 Jun 2025 20:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=83=E8=83=BD=E5=8A=9B=E3=80=91?= =?UTF-8?q?=E3=80=90Ability=E7=BB=84=E4=BB=B6=E3=80=91=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEU1=E4=B8=8B=E7=9A=84AppServiceExtension?= =?UTF-8?q?=E5=BC=80=E6=9C=BA=E8=87=AA=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- api/application/AutoStartupInfo.d.ts | 41 +++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/api/application/AutoStartupInfo.d.ts b/api/application/AutoStartupInfo.d.ts index 3d22b346de..78da282416 100644 --- a/api/application/AutoStartupInfo.d.ts +++ b/api/application/AutoStartupInfo.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2024 Huawei Device Co., Ltd. + * Copyright (c) 2023-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"), * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -81,6 +81,45 @@ export interface AutoStartupInfo { * @since 12 */ appCloneIndex?: number; + + /** + * The user id of application. + * + * @type { ?number } + * @readonly + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi + * @stagemodelonly + * @since 20 + * @arkts 1.1&1.2 + */ + readonly userId?: number; + + /** + * The user id of setter. + * + * @type { ?number } + * @readonly + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi + * @stagemodelonly + * @since 20 + * @arkts 1.1&1.2 + */ + readonly setterUserId?: number; + + /** + * Whether to allow user to modify autostartup status. + * + * @type { ?boolean } + * @readonly + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi + * @stagemodelonly + * @since 20 + * @arkts 1.1&1.2 + */ + readonly canUserModify?: boolean; } export default AutoStartupInfo; -- Gitee