提交 c8049cf7 编写于 作者: Z zero-cyc

update wantAgent doc

Signed-off-by: Nzero-cyc <chenlien@huawei.com>
Change-Id: Ic82e69fcac5f8ffca192b1ea83bd66b81080ed7c
上级 0231ad1a
......@@ -36,9 +36,9 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口
parameters: {}
}
],
operationType: OperationType.START_ABILITY,
operationType: wantAgent.OperationType.START_ABILITY,
requestCode: 0,
wantAgentFlags:[WantAgentFlags.CONSTANT_FLAG]
wantAgentFlags:[wantAgent.WantAgentFlags.CONSTANT_FLAG]
}
```
......@@ -55,9 +55,9 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口
parameters: {}
}
],
operationType: OperationType.SEND_COMMON_EVENT,
operationType: wantAgent.OperationType.SEND_COMMON_EVENT,
requestCode: 0,
wantAgentFlags:[WantAgentFlags.CONSTANT_FLAG]
wantAgentFlags:[wantAgent.WantAgentFlags.CONSTANT_FLAG]
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册