1 Star 0 Fork 5.1K

xulinlin / docs

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

AbilityInfo

Overview

Related Modules:

BundleManager

Description:

Defines the ability information.

Summary

Data Fields

Variable Name

Description

isVisible

bool 

abilityType

AbilityType 

launchMode

LaunchMode 

moduleName

char * 

name

char * 

description

char * 

iconPath

char * 

deviceId

char * 

label

char * 

bundleName

char * 

Details

Field Documentation

abilityType

[AbilityType](BundleManager.md#ga44b675d687acff3d739404c1227b4259) AbilityInfo::abilityType

Description:

Template used by the ability

bundleName

char* AbilityInfo::bundleName

Description:

Pointer to the application bundle name

description

char* AbilityInfo::description

Description:

Pointer to the description of the ability

deviceId

char* AbilityInfo::deviceId

Description:

Pointer to the device ID

iconPath

char* AbilityInfo::iconPath

Description:

Pointer to the icon path of the ability

isVisible

bool AbilityInfo::isVisible

Description:

Whether the ability is visible

label

char* AbilityInfo::label

Description:

Pointer to the ability name visible to users

launchMode

[LaunchMode](BundleManager.md#ga605d46d860e356a74db6842e66522854) AbilityInfo::launchMode

Description:

Startup mode of the ability

moduleName

char* AbilityInfo::moduleName

Description:

Pointer to the name of the HAP package to which the ability belongs. The HAP information is encapsulated in a ModuleInfo object.

name

char* AbilityInfo::name

Description:

Pointer to the class name of the ability

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

搜索帮助