openharmony 鸿蒙 js-apis-bundleManager-launcherAbilityInfo

2025-06-12 浏览 (1)

LauncherAbilityInfo

桌面应用的Ability信息,可以通过getLauncherAbilityInfoSync或者getLauncherAbilityInfo获取。

说明:

本模块首批接口从API version 18 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。

导入模块

import { launcherBundleManager } from '@kit.AbilityKit';

LauncherAbilityInfo

系统能力: SystemCapability.BundleManager.BundleFramework.Launcher

名称类型只读可选说明
applicationInfoApplicationInfolauncher ability的应用程序的配置信息。
elementNameElementNamelauncher ability的ElementName信息。
labelIdnumberlauncher ability的标签ID。
iconIdnumberlauncher ability的图标ID。
userIdnumberlauncher ability的用户ID。
installTimenumberlauncher ability的安装时间戳,单位毫秒。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit(程序框架服务)

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_base_common.h

harmony 鸿蒙ability_runtime_common.h

harmony 鸿蒙application_context.h

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/3xXf9f