HarmonyOS-Knowledgebase
HarmonyOS-Knowledgebase copied to clipboard
Intents and IntentConstants
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