!10320 可恢复预置应用结构体新增字段

Merge pull request !10320 from 张欣宇/master
This commit is contained in:
openharmony_ci 2024-04-18 13:57:51 +00:00 committed by Gitee
commit 7c9e918182
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,6 +18,8 @@
* @kit AbilityKit * @kit AbilityKit
*/ */
import bundleManager from './../@ohos.bundle.bundleManager';
/** /**
* Indicates the RecoverableApplicationInfo * Indicates the RecoverableApplicationInfo
* *
@ -70,4 +72,37 @@ export interface RecoverableApplicationInfo {
* @since 11 * @since 11
*/ */
readonly iconId: number; 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<string> }
* @readonly
* @syscap SystemCapability.BundleManager.BundleFramework.Core
* @systemapi
* @since 12
*/
readonly codePaths: Array<string>;
} }