IntentAgentEx provides a pending intent mechanism to perform an action only when certain conditions
are met or certain events are triggered. For example, after you receive a notification, a new ability will
be triggered only if you click this notification. The actions to be performed include abilities and common events.
When you send an IntentAgentEx to another application,
the application is granted all the permissions you have.
You can obtain a different IntentAgentEx only if a different request code is carried
in the IntentAgentInfo object or the intents in the previous and
new IntentAgentInfo objects
are found different by using Intent.equals(Object).
| 类 | 说明 |
|---|---|
| IntentAgentEx |
Contains basic
ohos.event.intentagent information. |