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 Documentation

description


1. char* ModuleInfo::description

Description:

Pointer to the description of the HAP package

deviceType


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


1. bool ModuleInfo::isDeliveryInstall

Description:

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

metaData


1. [MetaData]($api-api-SmartVision-Devices-MetaData.md)* ModuleInfo::metaData[METADATA_SIZE]

Description:

Pointer to the metadata array whose maximum size is METADATA_SIZE

moduleName


1. char* ModuleInfo::moduleName

Description:

Pointer to the HAP package name

moduleType


1. char* ModuleInfo::moduleType

Description:

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

name


1. char* ModuleInfo::name

Description:

Pointer to the class name of the HAP package