HarmonyOS-Knowledgebase icon indicating copy to clipboard operation
HarmonyOS-Knowledgebase copied to clipboard

Intents and IntentConstants

Open kanaksony opened this issue 3 years ago • 0 comments

Hello Community,

In order to develop an HMOS app, I need to use Intents. While browsing the documentation of SDK both offline and online HarmonyOS Java API Documentation, I found - Intents belong to ohos.utils.IntentConstants and Intentconstants belong to ohos.aafwk.content.Intent I can see both have a list of ACTION.

Additional information

Developer Platform: Windows DevEco Studio version: 2.1.0.501 SDK API version: 5 SDK version:2.1.1.21 Device: Simulator

Can anyone please specify the differences and similarities between the two?

NOTE: I have not created an issue for the above on StackOverflow, please let me know if it is required.

-- Regards, Kanak Sony

kanaksony avatar Oct 06 '21 08:10 kanaksony