# BundleInfo - [Overview](#section1282840164165630) - [Summary](#section607899683165630) - [Data Fields](#pub-attribs) - [Details](#section402726232165630) - [Field](#section472693729165630) - [abilityInfos](#a3ada4a71ec78f2f2d6c78b8db9406d40) - [appId](#ad0eff56be21d5023221ce20da5ab9efb) - [bigIconPath](#a8e34521fed8544d56fe744e895504940) - [bundleName](#aec3498345b5e999424348aff0a723db7) - [codePath](#a48870c542ef26637af24b6e424af9e66) - [compatibleApi](#af672c11317ab2608732ebfadf0bfdc94) - [dataPath](#ac4fcbb75da508f66f815c275d3e53888) - [gid](#a9d43b35b1e8310173e75a3fd3e9e2e5d) - [isKeepAlive](#a6f953f1be6da55f3b0afb292ae36d30f) - [isNativeApp](#a4c9154f98628fff6b2016d9fe3e6bc23) - [isSystemApp](#ae4572da0f7c456734c7fcc6158e5a5f1) - [label](#a008c2aab5a80d72a283ebb033f3a00e9) - [moduleInfos](#a7f558b993f8ffd70264b490ea079e178) - [numOfAbility](#a0691b2c2822bc661f6618b7d376010b9) - [numOfModule](#ae6d0d5a10be24006397e1436a757f899) - [targetApi](#a7cbe4debddb5d278af13ca09e55409c9) - [uid](#a4c469e7cb5dbea185de3a70f18adeeb4) - [vendor](#aa82cb2180789691e20e75d0371dec7cd) - [versionCode](#a10ebbd5523a9f9f7b38b04ac365fa9ee) - [versionName](#a5381cbf05a30ee5cb5bc1a7daa18084e) ## **Overview** **Related Modules:** [BundleManager](BundleManager.md) **Description:** Defines the bundle information. ## **Summary** ## Data Fields

Variable Name

Description

isKeepAlive

bool

isNativeApp

bool

uid

int32_t

gid

int32_t

isSystemApp

bool

compatibleApi

int32_t

targetApi

int32_t

versionCode

int32_t

versionName

char *

bundleName

char *

label

char *

bigIconPath

char *

codePath

char *

dataPath

char *

vendor

char *

moduleInfos

ModuleInfo *

numOfModule

int32_t

appId

char *

abilityInfos

AbilityInfo *

numOfAbility

int32_t

## **Details** ## **Field ** ## abilityInfos ``` [AbilityInfo](AbilityInfo.md)* BundleInfo::abilityInfos ``` **Description:** Pointer to the ability information about the application. The ability information is encapsulated in [AbilityInfo](AbilityInfo.md) objects. ## appId ``` char* BundleInfo::appId ``` **Description:** Application ID, which uniquely identifies an application. It is a combination of the bundle name and signature of the application. ## bigIconPath ``` char* BundleInfo::bigIconPath ``` **Description:** Pointer to the big icon of the application ## bundleName ``` char* BundleInfo::bundleName ``` **Description:** Pointer to the bundle name of the application ## codePath ``` char* BundleInfo::codePath ``` **Description:** Pointer to the installation path of the application, which is in the **/app/run/bundle name** format ## compatibleApi ``` int32_t BundleInfo::compatibleApi ``` **Description:** Minimum API version required ## dataPath ``` char* BundleInfo::dataPath ``` **Description:** Pointer to the path for storing data files of the application. The data path is **/app/data**. ## gid ``` int32_t BundleInfo::gid ``` **Description:** Application group ID allocated during application installation ## isKeepAlive ``` bool BundleInfo::isKeepAlive ``` **Description:** Whether the application is kept alive ## isNativeApp ``` bool BundleInfo::isNativeApp ``` **Description:** Whether the application is a local application. A local application refers to an application developed using C++ in the system. The value **true** indicates a local application, and **false** indicates a non-local application. ## isSystemApp ``` bool BundleInfo::isSystemApp ``` **Description:** Whether the application is a system application. System applications cannot be uninstalled. The value **true** indicates a system application, and **false** indicates a non-system application. ## label ``` char* BundleInfo::label ``` **Description:** Pointer to the application name visible to users ## moduleInfos ``` [ModuleInfo](ModuleInfo.md)* BundleInfo::moduleInfos ``` **Description:** Pointer to the HAP package information about the application. The HAP information is encapsulated in [ModuleInfo](ModuleInfo.md) objects. ## numOfAbility ``` int32_t BundleInfo::numOfAbility ``` **Description:** Number of [AbilityInfo](AbilityInfo.md) objects in the application ## numOfModule ``` int32_t BundleInfo::numOfModule ``` **Description:** Number of [ModuleInfo](ModuleInfo.md) objects included in the application ## targetApi ``` int32_t BundleInfo::targetApi ``` **Description:** Target API version ## uid ``` int32_t BundleInfo::uid ``` **Description:** UID allocated during application installation ## vendor ``` char* BundleInfo::vendor ``` **Description:** Pointer to the vendor name of the application ## versionCode ``` int32_t BundleInfo::versionCode ``` **Description:** Version code of the application, which is the internal version number ## versionName ``` char* BundleInfo::versionName ``` **Description:** Pointer to the version name visible to users