From 1f152a4b9bc135e507b7515dfe171511b5a8e750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=AC=A3=E5=AE=87?= Date: Sat, 30 Mar 2024 09:49:19 +0000 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E6=81=A2=E5=A4=8D=E9=A2=84=E7=BD=AE?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=BB=93=E6=9E=84=E4=BD=93=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张欣宇 Change-Id: Ib2850f1e1838d46ce5eb6d3b7846e5a8d490bdd4 --- .../RecoverableApplicationInfo.d.ts | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/api/bundleManager/RecoverableApplicationInfo.d.ts b/api/bundleManager/RecoverableApplicationInfo.d.ts index 544136245..62b36b0ea 100644 --- a/api/bundleManager/RecoverableApplicationInfo.d.ts +++ b/api/bundleManager/RecoverableApplicationInfo.d.ts @@ -18,6 +18,8 @@ * @kit AbilityKit */ +import bundleManager from './../@ohos.bundle.bundleManager'; + /** * Indicates the RecoverableApplicationInfo * @@ -70,4 +72,37 @@ export interface RecoverableApplicationInfo { * @since 11 */ readonly iconId: number; + + /** + * Indicates whether the application is a system application + * + * @type { boolean } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @systemapi + * @since 12 + */ + readonly systemApp: boolean; + + /** + * Indicates the type of application. + * + * @type { bundleManager.BundleType } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @systemapi + * @since 12 + */ + readonly bundleType: bundleManager.BundleType; + + /** + * Indicates the application source code path. + * + * @type { Array } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @systemapi + * @since 12 + */ + readonly codePaths: Array; }