RemoteAbilityInfo (System API)

The module provides information about a remote ability.

NOTE

The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.

The APIs of this module have been deprecated since API version 9. You are advised to use bundleManager-RemoteAbilityInfo instead.

The APIs provided by this module are system APIs.

RemoteAbilityInfo(deprecated)

NOTE

This API has been supported since API version 8 and deprecated since API version 9. You are advised to use bundleManager-RemoteAbilityInfo instead.

System capability: SystemCapability.BundleManager.DistributedBundleFramework

System API: This is a system API.

Name Type Read-Only Optional Description
elementName ElementName Yes No Element name information of the ability.
label string Yes No Ability name.
icon string Yes No Icon of the ability.