@ohos.app.ability.EmbeddableUIAbility (Embeddable UIAbility)

EmbeddableUIAbility is an embeddable UIAbility component provided for atomic services. It inherits from UIAbility.

You can implement EmbeddableUIAbility to enable atomic services to be launched by other applications either as a standalone window or embedded within the host application's UI.

For details about the inheritance relationship of each ability, see Inheritance Relationship.

NOTE

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

The APIs of this module can be used only in the stage model.

Modules to Import

import { EmbeddableUIAbility } from '@kit.AbilityKit';

EmbeddableUIAbility

System capability: SystemCapability.Ability.AbilityRuntime.Core

Atomic service API: This API can be used in atomic services since API version 12.

Name Type Read-only Optional Description
context EmbeddableUIAbilityContext No No Context of the EmbeddableUIAbility.