1# TriggerInfo 2 3作为[trigger](js-apis-app-ability-wantAgent.md#wantagenttrigger)的入参定义触发WantAgent所需要的信息。 4 5> **说明:** 6> 7> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 8 9## 导入模块 10 11```ts 12import wantAgent from '@ohos.app.ability.wantAgent'; 13``` 14 15**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core 16 17| 名称 | 类型 | 必填 | 说明 | 18| ---------- | --- |-------------------- | ----------- | 19| code | number | 是 | result code。 | 20| want | Want | 否 | Want。 | 21| permission | string | 否 | 权限定义。 | 22| extraInfo | {[key: string]: any} | 否 | 额外数据。 | 23