Skip to content

Intents and IntentConstants #82

@kanaksony

Description

@kanaksony

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    QueryHarmonyOS API/Functionality QuerydocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions