1 Star 0 Fork 4.9K

Cain / docs

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

element_name.h

Overview

Related Modules:

BundleManager

Description:

Declares the structure that defines the required information for querying AbilityInfo, including the device ID, bundle name, and class name, and functions for setting such information.

You can use functions provided in this file to specify the information for querying AbilityInfo.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

ElementName

Defines the ability information.

Functions

Function Name

Description

ClearElement (ElementName *element)

void 

Clears the internal data of a specified ElementName.

SetElementDeviceID (ElementName *element, const char *deviceId)

bool 

Sets the device ID used to query AbilityInfo.

SetElementBundleName (ElementName *element, const char *bundleName)

bool 

Sets the bundle name used to query AbilityInfo.

SetElementAbilityName (ElementName *element, const char *abilityName)

bool 

Sets the class name of the ability used to query AbilityInfo.

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

搜索帮助