TriggerInfo


TriggerInfo

作为trigger的入参定义触发WantAgent所需要的信息。

系统能力:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core

名称 类型 必填 说明
code number 提供给目标wantAgent的自定义结果码。
want Want Want。
permission string 权限定义。
extraInfo {[key: string]: any} 额外数据。