App that initiates the sharing. The host app calls the sharing API to configure information such as the content to be shared and preview style and displays the sharing panel.
Provides content-related operations, such as copying, saving, saving as, and printing.
Integrates Share Kit and Intents Kit and uses algorithms to efficiently and accurately recommend devices and target app users that can process the shared content.
Obtains target apps that support the shared content through the package management service of HarmonyOS. The following redirection methods are supported:
Redirects to the UIAbility component in the target app.
Redirects to the ExtensionAbility component provided by the target app.
The target app developer needs to configure the description of the UIAbility and ExtensionAbility components in the module.json5 configuration file to declare the supported types of shared data.
Device that initiates content sharing. The source device sends the shared data to the target device through Huawei Share.