public static interface IntentAgent.OnCompleted
IntentAgentHelper#triggerIntentAgent(Context, IntentAgent, IntentAgent.OnCompleted,
EventHandler, TriggerInfo) method. After the method execution is complete, the callback process will start.SystemCapability.Notification#ANS| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onSendCompleted(IntentAgent intentAgent,
Intent intent,
int finalCode,
String finalData,
IntentParams extraInfo) |
Called when execution of the
IntentAgentHelper#triggerIntentAgent(Context, IntentAgent,
IntentAgent.OnCompleted, EventHandler, TriggerInfo) method is complete. |
void onSendCompleted(IntentAgent intentAgent, Intent intent, int finalCode, String finalData, IntentParams extraInfo)
IntentAgentHelper#triggerIntentAgent(Context, IntentAgent,
IntentAgent.OnCompleted, EventHandler, TriggerInfo) method is complete.intentAgent - Indicates the triggered IntentAgent.intent - Indicates the existing intent that is triggered.finalCode - Indicates the request code used to trigger the IntentAgent.finalData - Indicates the final data collected by the common events.extraInfo - Indicates the final extra information collected by the common events.