“37faf4956504043a8afdc0ca0779f6284ec0c324”上不存在“...paddle/v2/git@gitcode.net:s920243400/PaddleDetection.git”
提交 509efcad 编写于 作者: L liuxiyao223

IssueNo:docs整改(挑单3.2分支)

Description:js-apis-call.md的call.reject改为call.rejectCall
Sig:SIG_Telephony
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: Nliuxiyao223 <liuxiyao223@huawei.com>
上级 ee43fd61
......@@ -1252,10 +1252,10 @@ For details about the following error codes, see [Telephony Error Codes](../../r
let rejectMessageOptions={
messageContent: "Unknown number blocked"
}
call.reject(1, rejectMessageOptions).then(() => {
console.log(`reject success.`);
call.rejectCall(1, rejectMessageOptions).then(() => {
console.log(`rejectCall success.`);
}).catch((err) => {
console.error(`reject fail, promise: err->${JSON.stringify(err)}`);
console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`);
});
```
......
......@@ -1252,10 +1252,10 @@ rejectCall(callId?: number, options?: RejectMessageOptions\): Promise<void\>
let rejectMessageOptions={
messageContent: "拦截陌生号码"
}
call.reject(1, rejectMessageOptions).then(() => {
console.log(`reject success.`);
call.rejectCall(1, rejectMessageOptions).then(() => {
console.log(`rejectCall success.`);
}).catch((err) => {
console.error(`reject fail, promise: err->${JSON.stringify(err)}`);
console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`);
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册