From cc9a484a1149bd0efed795fd0519c8b505fcc3b2 Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Tue, 12 Jul 2022 11:36:59 +0800 Subject: [PATCH] IssueNo: #I5GNBH:add labelIndex iconIndex Description: add labelIndex iconIndex Sig:SIG_ApplicaitonFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: wangtiantian --- api/bundle/applicationInfo.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/api/bundle/applicationInfo.d.ts b/api/bundle/applicationInfo.d.ts index 3219bbd647..73477bb49b 100644 --- a/api/bundle/applicationInfo.d.ts +++ b/api/bundle/applicationInfo.d.ts @@ -72,9 +72,17 @@ export interface ApplicationInfo { * @default Indicates the label id of the application * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework + * @deprecated since 9, use labelIndex */ readonly labelId: string; + /** + * @default Indicates the label index of the application + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + readonly labelIndex: number; + /** * @default Indicates the icon of the application * @since 7 @@ -86,9 +94,17 @@ export interface ApplicationInfo { * @default Indicates the icon id of the application * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework + * @deprecated since 9, use iconIndex */ readonly iconId: string; + /** + * @default Indicates the icon index of the application + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + readonly iconIndex: number; + /** * @default Process of application, if user do not set it ,the value equal bundleName * @since 7 -- Gitee