程序包 ohos.interwork.event.intentagent

Provides a mechanism for pending execution.

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).

从以下版本开始:
4
跳过导航链接