提交 599028b1 编写于 作者: W wusongqing

update docs against 8699

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 fb977df4
......@@ -113,9 +113,9 @@ Registers a mission status listener. This API uses a promise to return the resul
```
## distributedMissionManager.unregisterMissionListener
## distributedMissionManager.unRegisterMissionListener
unregisterMissionListener(parameter: MissionDeviceInfo, callback: AsyncCallback&lt;void&gt;): void;
unRegisterMissionListener(parameter: MissionDeviceInfo, callback: AsyncCallback&lt;void&gt;): void;
Deregisters a mission status listener. This API uses an asynchronous callback to return the result.
......@@ -136,15 +136,15 @@ Deregisters a mission status listener. This API uses an asynchronous callback to
var parameter = {
deviceId: remoteDeviceId
};
distributedMissionManager.unregisterMissionListener(parameter, (error) => {
distributedMissionManager.unRegisterMissionListener(parameter, (error) => {
console.log("error.code = " + error.code)
})
```
## distributedMissionManager.unregisterMissionListener
## distributedMissionManager.unRegisterMissionListener
unregisterMissionListener(parameter: MissionDeviceInfo): Promise&lt;void&gt;
unRegisterMissionListener(parameter: MissionDeviceInfo): Promise&lt;void&gt;
Deregisters a mission status listener. This API uses a promise to return the result.
......@@ -170,7 +170,7 @@ Deregisters a mission status listener. This API uses a promise to return the res
var parameter = {
deviceId: remoteDeviceId
};
distributedMissionManager.unregisterMissionListener(parameter)
distributedMissionManager.unRegisterMissionListener(parameter)
.then(data => {
console.info('success data is ' + data);
}).catch(error => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册