1 Star 0 Fork 4.9K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BundleInfo.md 14.88 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

BundleInfo

Overview

Related Modules:

BundleManager

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 

sharedLibPath

char * 

appId

char * 

abilityInfos

AbilityInfo

numOfAbility

int32_t 

Details

Field Documentation

abilityInfos

[AbilityInfo](AbilityInfo.md)* BundleInfo::abilityInfos

Description:

Pointer to the ability information about the application. The ability information is encapsulated in AbilityInfo 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:

Pointer to the minimum API version required for running the application

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 objects.

numOfAbility

int32_t BundleInfo::numOfAbility

Description:

Number of AbilityInfo objects in the application

numOfModule

int32_t BundleInfo::numOfModule

Description:

Number of ModuleInfo objects included in the application

sharedLibPath

char* BundleInfo::sharedLibPath

Description:

Pointer to the shared library path

targetApi

int32_t BundleInfo::targetApi

Description:

Pointer to the target API version for running the application

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

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助