/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.5/ |
H A D | changelogs-telephony.md | 62 从API9开始,废弃此接口,改为使用dialCall接口。 69 该接口删除无法再使用,请使用新增的接口dialCall替换,否则会影响原有功能。 91 function dialCall(phoneNumber: string, callback: AsyncCallback<void>): void; 92 function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback<void>): vo… 93 function dialCall(phoneNumber: string, options?: DialCallOptions): Promise<void>; 100 该接口删除无法再使用,请使用新增的接口dialCall替换。 104 call.dialCall("138xxxxxxxx", (err, data) => { 111 call.dialCall("138xxxxxxxx", { 124 call.dialCall('138xxxxxxxx'); 125 console.log(`dialCall success, promise: data->${JSON.stringify(data)}`); [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.5/ |
H A D | changelogs-telephony.md | 62 Changed the `dial` API to the `dialCall` API in the call module of the telephony subsystem since AP… 69 The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. Otherwise,… 91 function dialCall(phoneNumber: string, callback: AsyncCallback<void>): void; 92 function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback<void>): vo… 93 function dialCall(phoneNumber: string, options?: DialCallOptions): Promise<void>; 100 The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. 104 call.dialCall("138xxxxxxxx", (err, data) => { 111 call.dialCall("138xxxxxxxx", { 124 call.dialCall('138xxxxxxxx'); 125 console.log(`dialCall success, promise: data->${JSON.stringify(data)}`); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/telephony/ |
H A D | telephony-call.md | 7 - 对于系统应用,开发者可以使用dialCall接口,直接进行音频/视频呼叫,在应用界面显示对应的通话。 37 |<!--DelRow--> dialCall(phoneNumber: string, callback: AsyncCallback<void>): void; … 49 ### 使用dialCall拨打电话(仅供系统应用使用) 55 3. 调用dialCall接口,拨打电话。 66 call.dialCall("13xxxx", (err: BusinessError) => {
|
/ohos5.0/docs/en/application-dev/telephony/ |
H A D | telephony-call.md | 7 - For a system application, use the **dialCall** API to make a voice or video call. The call will b… 37 |<!--DelRow--> dialCall(phoneNumber: string, callback: AsyncCallback<void>): void; … 49 ### Making a Call by Using the dialCall API (Only for System Applications) 55 3. Invoke the **dialCall** API to make a call. 66 call.dialCall("13xxxx", (err: BusinessError) => {
|
/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch1_test.cpp | 274 sptr<CallBase> dialCall = new IMSCall(mDialParaInfo); variable 275 dialCall->SetCallId(VALID_CALLID); 276 dialCall->SetCallType(CallType::TYPE_VOIP); 277 dialCall->SetTelCallState(TelCallState::CALL_STATUS_DIALING); 279 callRequestProcess->AddOneCallObject(dialCall); 309 sptr<CallBase> dialCall = new IMSCall(mDialParaInfo); variable 310 dialCall->SetCallId(2); 311 dialCall->SetCallType(CallType::TYPE_VOIP); 312 dialCall->SetTelCallState(TelCallState::CALL_STATUS_DIALING); 314 callRequestProcess->AddOneCallObject(dialCall); [all …]
|
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/src/ |
H A D | call.js | 82 dialCall: call.dialCall,
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-call-sys.md | 19 ## call.dialCall<sup>9+</sup> 21 dialCall\(phoneNumber: string, callback: AsyncCallback\<void\>\): void 59 call.dialCall("138xxxxxxxx", (err: BusinessError) => { 61 console.error(`dialCall fail, err->${JSON.stringify(err)}`); 63 console.log(`dialCall success.`); 69 ## call.dialCall<sup>9+</sup> 118 console.error(`dialCall fail, err->${JSON.stringify(err)}`); 120 console.log(`dialCall success.`); 126 ## call.dialCall<sup>9+</sup> 178 call.dialCall("138xxxxxxxx", dialCallOptions).then(() => { [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-call-sys.md | 19 ## call.dialCall<sup>9+</sup> 21 dialCall\(phoneNumber: string, callback: AsyncCallback\<void\>\): void 59 call.dialCall("138xxxxxxxx", (err: BusinessError) => { 61 console.error(`dialCall fail, err->${JSON.stringify(err)}`); 63 console.log(`dialCall success.`); 69 ## call.dialCall<sup>9+</sup> 118 console.error(`dialCall fail, err->${JSON.stringify(err)}`); 120 console.log(`dialCall success.`); 126 ## call.dialCall<sup>9+</sup> 178 call.dialCall("138xxxxxxxx", dialCallOptions).then(() => { [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-telephony.md | 50 |新增|NA|类名:call;<br>方法or属性:function dialCall(phoneNumber: string, callback: AsyncCallback\<void>): v… 51 |新增|NA|类名:call;<br>方法or属性:function dialCall(phoneNumber: string, options: DialCallOptions, callback… 52 |新增|NA|类名:call;<br>方法or属性:function dialCall(phoneNumber: string, options?: DialCallOptions): Promis… 191 …ack: AsyncCallback\<boolean>): void;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 192 …ack: AsyncCallback\<boolean>): void;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 193 …s?: DialOptions): Promise\<boolean>;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-telephony.md | 3 |新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, callback: AsyncCallback\<void>): vo… 4 |新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, options: DialCallOptions, callback:… 5 |新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, options?: DialCallOptions): Promise…
|
/ohos5.0/base/telephony/call_manager/services/call/src/ |
H A D | call_status_manager.cpp | 757 … sptr<CallBase> dialCall = GetOneCallObject(CallRunningState::CALL_RUNNING_STATE_DIALING); in HoldingHandle() local 758 if (result != TELEPHONY_SUCCESS && dialCall != nullptr) { in HoldingHandle()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-telephony.md | 50 |Added|NA|Class name: call;<br>Method or attribute name: function dialCall(phoneNumber: string, cal… 51 |Added|NA|Class name: call;<br>Method or attribute name: function dialCall(phoneNumber: string, opt… 52 |Added|NA|Class name: call;<br>Method or attribute name: function dialCall(phoneNumber: string, opt… 191 …k\<boolean>): void;<br>New version: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 192 …k\<boolean>): void;<br>New version: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 193 … Promise\<boolean>;<br>New version: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c…
|
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/ |
H A D | js-apidiff-telephony.md | 3 |Added|NA|Class name: call<br>Method or attribute name: function dialCall(phoneNumber: string, call… 4 |Added|NA|Class name: call<br>Method or attribute name: function dialCall(phoneNumber: string, opti… 5 |Added|NA|Class name: call<br>Method or attribute name: function dialCall(phoneNumber: string, opti…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-telephony.md | 43 …ack: AsyncCallback\<boolean>): void;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 44 …s?: DialOptions): Promise\<boolean>;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 187 …dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,8300001,8300… 188 …dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>… 189 …dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>旧版本信息:201,401,8300001…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-telephony.md | 73 …ack: AsyncCallback\<boolean>): void;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 74 …s?: DialOptions): Promise\<boolean>;<br>新版本信息:9<br>代替接口: telephony.call#dialCall|@ohos.telephony.c… 218 …dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,8300001,8300… 219 …dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>… 220 …dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>旧版本信息:201,401,8300001…
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-telephony.md | 73 …: void;<br>New version information: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 74 …olean>;<br>New version information: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 218 …dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>Old version information: 2… 219 …dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>… 220 …dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>Old version informati…
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-telephony.md | 43 …: void;<br>New version information: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 44 …olean>;<br>New version information: 9<br>Substitute API: telephony.call#dialCall|@ohos.telephony.c… 187 …dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>Old version information: 2… 188 …dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>… 189 …dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>Old version informati…
|