提交 0a280d81 编写于 作者: W wangyang2022

资料拼写错误整改

Signed-off-by: Nwangyang2022 <wangyang412@huawei.com>
Change-Id: Ic5280763511a78e36311ff98f210f9446621e3df
上级 0e37f667
......@@ -394,11 +394,11 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback, callba
missionId: 1,
wantParam: {"key": "value"}
};
function OnContinueDone(resultCode) {
console.log('OnContinueDone resultCode: ' + JSON.stringify(resultCode));
function onContinueDone(resultCode) {
console.log('onContinueDone resultCode: ' + JSON.stringify(resultCode));
};
var options = {
OnContinueDone: OnContinueDone
onContinueDone: onContinueDone
};
try {
distributedMissionManager.continueMission(parameter, options, (error) => {
......@@ -457,11 +457,11 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi
missionId: 1,
wantParam: {"key": "value"}
};
function OnContinueDone(resultCode) {
console.log('OnContinueDone resultCode: ' + JSON.stringify(resultCode));
function onContinueDone(resultCode) {
console.log('onContinueDone resultCode: ' + JSON.stringify(resultCode));
};
var options = {
OnContinueDone: OnContinueDone
onContinueDone: onContinueDone
};
try {
distributedMissionManager.continueMission(parameter, options)
......
# MissionCallbacks
# MissionCallback
作为可以[registerMissionListener](js-apis-distributedMissionManager.md#distributedmissionmanagerregistermissionlistener)的入参,表示开始同步后,建立的回调函数。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册