harmony 鸿蒙SharedBundleInfo

2023-06-24 浏览 (578)

SharedBundleInfo

The SharedBundleInfo module provides information about the shared bundle. The information can be obtained by calling bundleManager.getSharedBundleInfo.

NOTE

The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.

SharedBundleInfo

Defines the shared bundle information.

System API: This is a system API.

System capability: SystemCapability.BundleManager.BundleFramework.Core

NameTypeReadableWritableDescription
namestringYesNoName of the shared bundle.
compatiblePolicybundleManager.CompatiblePolicyYesNoCompatibility type of the shared bundle.
sharedModuleInfoArray<SharedModuleInfo>YesNoInformation about the shared module.

SharedModuleInfo

Defines the shared module information.

System API: This is a system API.

System capability: SystemCapability.BundleManager.BundleFramework.Core

NameTypeReadableWritableDescription
namestringYesNoModule name of the shared bundle.
versionCodenumberYesNoVersion number of the shared bundle.
versionNamestringYesNoVersion description of the shared bundle.
descriptionstringYesNoDescription of the shared bundle.
descriptionIdnumberYesNoDescription ID of the shared bundle.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙APIs

harmony 鸿蒙System Common Events (To Be Deprecated Soon)

harmony 鸿蒙System Common Events

harmony 鸿蒙API Reference Document Description

harmony 鸿蒙Enterprise Device Management Overview (for System Applications Only)

harmony 鸿蒙BundleStatusCallback

harmony 鸿蒙@ohos.bundle.innerBundleManager (innerBundleManager)

harmony 鸿蒙@ohos.distributedBundle (Distributed Bundle Management)

harmony 鸿蒙@ohos.bundle (Bundle)

harmony 鸿蒙@ohos.enterprise.EnterpriseAdminExtensionAbility (EnterpriseAdminExtensionAbility)

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