1 Star 0 Fork 5.4K

How / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ModuleInfo.md 6.03 KB
一键复制 编辑 原始数据 按行查看 历史
[yang] 提交于 2020-12-12 14:19 . Description: update docs 20201212

ModuleInfo

Overview

Related Modules:

BundleManager

Description:

Defines the HAP information.

Summary

Data Fields

Variable Name

Description

moduleName

char *

description

char *

name

char *

moduleType

char *

isDeliveryInstall

bool

deviceType [DEVICE_TYPE_SIZE]

char *

metaData [METADATA_SIZE]

MetaData *

Details

**Field **

description

char* ModuleInfo::description

Description:

Pointer to the description of the HAP package

deviceType

char* ModuleInfo::deviceType[DEVICE_TYPE_SIZE]

Description:

Pointer to the types of devices that can run the application. The maximum size of the device type array is DEVICE_TYPE_SIZE.

isDeliveryInstall

bool ModuleInfo::isDeliveryInstall

Description:

Whether the HAP package is installed while the user is installing the application

metaData

[MetaData](MetaData.md)* ModuleInfo::metaData[METADATA_SIZE]

Description:

Pointer to the metadata array whose maximum size is METADATA_SIZE

moduleName

char* ModuleInfo::moduleName

Description:

Pointer to the HAP package name

moduleType

char* ModuleInfo::moduleType

Description:

Type of the HAP package, either Entry.hap or Feature.hap

name

char* ModuleInfo::name

Description:

Pointer to the class name of the HAP package

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mike-mei/docs.git
git@gitee.com:mike-mei/docs.git
mike-mei
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891