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.