harmony 鸿蒙AppProvisionInfo

2023-06-24 浏览 (543)

AppProvisionInfo

The AppProvisionInfo module provides information in the HarmonyAppProvision configuration file. The information can be obtained through getAppProvisionInfo.

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.

AppProvisionInfo

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

NameTypeReadableWritableDescription
versionCodenumberYesNoVersion number of the configuration file.
versionNamestringYesNoVersion name of the configuration file.
uuidstringYesNoUUID in the configuration file.
typestringYesNoType of the configuration file, which can be debug or release.
appDistributionTypestringYesNoDistribution type in the configuration file, which can be app_gallery, enterprise, os_integration, or crowdtesting.
validityValidityYesNoValidity period in the configuration file.
developerIdstringYesNoDeveloper ID in the configuration file.
certificatestringYesNoCertificate public key in the configuration file.
aplstringYesNoAPL in the configuration file, which can be normal, system_basic, or system_core.
issuerstringYesNoIssuer name in the configuration file.
appIdentifier11+stringYesNoUnique ID of the application, which is allocated by the cloud. This ID does not change along the application lifecycle, including version updates, certificate changes, public and private key changes, and application transfers.

Validity

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

NameTypeReadableWritableDescription
notBeforenumberYesNoEarliest validity date of the configuration file.
notAfternumberYesNoLatest validity date of the configuration file.

你可能感兴趣的鸿蒙文章

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/f9f5244995ab47aa9f967813751de3d8