/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | call_record.cpp | 28 state_(CallState::INIT), in CallRecord() 50 callRecord->SetCallState(CallState::INIT); in CreateCallRecord() 137 state_ = CallState::REQUESTED; in SchedulerConnectDone() 196 std::string state = (state_ == CallState::INIT ? "INIT" : in Dump() 197 state_ == CallState::REQUESTING ? "REQUESTING" : "REQUESTED"); in Dump() 209 bool CallRecord::IsCallState(const CallState &state) const in IsCallState() 214 void CallRecord::SetCallState(const CallState &state) in SetCallState()
|
H A D | call_container.cpp | 155 if (callRecord && callRecord->IsCallState(CallState::REQUESTING)) { in CallRequestDone() 181 if (callRecord && !callRecord->IsCallState(CallState::REQUESTED)) { in IsNeedToCallRequest()
|
/ohos5.0/docs/zh-cn/application-dev/telephony/ |
H A D | telephony-call.md | 44 | on(type: 'callStateChange', options: { slotId: number }, callback: Callback<{ state: CallState, n… 73 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN; 109 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | call_record.h | 51 enum class CallState { INIT, REQUESTING, REQUESTED }; enum 77 bool IsCallState(const CallState &state) const; 78 void SetCallState(const CallState &state); 87 CallState state_; // call state
|
/ohos5.0/base/telephony/state_registry/interfaces/kits/js/ |
H A D | @ohos.telephony.observer.d.ts | 98 type CallState = call.CallState; 764 state: CallState;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-call.md | 342 getCallState\(callback: AsyncCallback\<CallState\>\): void 352 | callback | AsyncCallback<[CallState](#callstate)> | 是 | 回调函数,异步返回获取到的通话状态。 | 359 call.getCallState((err: BusinessError, data: call.CallState) => { 371 getCallState\(\): Promise\<CallState\> 381 | Promise<[CallState](#callstate)> | 以Promise形式异步返回获取到的通话状态。 | 388 call.getCallState().then((data: call.CallState) => { 397 getCallStateSync\(\): CallState 407 | [CallState](#callstate) | 返回获取到的通话状态。 | 412 let callState: call.CallState = call.getCallStateSync(); 812 ## CallState section
|
H A D | js-apis-observer.md | 93 ## CallState section 95 type CallState = call.CallState 103 | [call.CallState](js-apis-call.md#callstate) | 通话状态码。 | 400 …\<[CallStateInfo](#callstateinfo11)\> | 是 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md… 441 …o](#callstateinfo11)\> | 是 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md… 484 …o](#callstateinfo11)\> | 否 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md… 1000 | state | [CallState](js-apis-call.md#callstate) | 是 | 通话类型。 |
|
/ohos5.0/docs/en/application-dev/telephony/ |
H A D | telephony-call.md | 44 | on(type: 'callStateChange', options: { slotId: number }, callback: Callback<{ state: CallState, n… 73 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN; 109 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/call_container_test/ |
H A D | call_container_test.cpp | 257 callRecord->SetCallState(CallState::INIT); 280 callRecord->SetCallState(CallState::REQUESTING); 303 callRecord->SetCallState(CallState::REQUESTED); 361 callRecord->SetCallState(CallState::REQUESTED);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_record_test/ |
H A D | ability_record_test_call.cpp | 180 callRecord->SetCallState(CallState::REQUESTING); 195 callRecord->SetCallState(CallState::REQUESTED); 419 callRecord->SetCallState(CallState::INIT);
|
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/include/ |
H A D | napi_state_registry.h | 42 enum class CallState : int32_t { enum
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/ |
H A D | mission_list_manager_ut_test.cpp | 272 callRecord->SetCallState(CallState::INIT); 317 callRecord->SetCallState(CallState::REQUESTED); 438 callRecord->SetCallState(CallState::REQUESTED); 473 callRecord->SetCallState(CallState::INIT); 510 callRecord->SetCallState(CallState::INIT); 575 callRecord->SetCallState(CallState::REQUESTED);
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-call.md | 342 getCallState\(callback: AsyncCallback\<CallState\>\): void 352 | callback | AsyncCallback<[CallState](#callstate)> | Yes | Callback used to return the resu… 359 call.getCallState((err: BusinessError, data: call.CallState) => { 371 getCallState\(\): Promise\<CallState\> 381 | Promise<[CallState](#callstate)> | Promise used to return the result.| 388 call.getCallState().then((data: call.CallState) => { 397 getCallStateSync\(\): CallState 407 | [CallState](#callstate) | Promise used to return the result.| 412 let callState: call.CallState = call.getCallStateSync(); 812 ## CallState section
|
H A D | js-apis-observer.md | 284 …nfo11)\> | Yes | Callback used to return the result. For details, see [CallState](js-apis-call.md… 325 … | Yes | Callback used to return the result. For details, see [CallState](js-apis-call.md… 368 … | No | Callback used to return the result. For details, see [CallState](js-apis-call.md… 884 | state | [CallState](js-apis-call.md#callstate) | Yes | Call type.|
|
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/src/ |
H A D | call.js | 190 CallState: call.CallState,
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/applicationanrlistener_fuzzer/ |
H A D | applicationanrlistener_fuzzer.cpp | 172 CallState state = CallState::INIT; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_hf_call.h | 48 enum CallState { enum
|
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/src/ |
H A D | event_listener_handler.cpp | 65 return static_cast<int32_t>(CallState::CALL_STATE_OFFHOOK); in WrapCallState() 68 return static_cast<int32_t>(CallState::CALL_STATE_RINGING); in WrapCallState() 72 return static_cast<int32_t>(CallState::CALL_STATE_IDLE); in WrapCallState() 74 return static_cast<int32_t>(CallState::CALL_STATE_ANSWERED); in WrapCallState() 76 return static_cast<int32_t>(CallState::CALL_STATE_UNKNOWN); in WrapCallState()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-telephony.md | 10 |新增|NA|类名:call;<br>方法or属性:function getCallStateSync(): CallState;|@ohos.telephony.call.d.ts|
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/ |
H A D | js-apidiff-telephony.md | 10 |Added|NA|Class name: call;<br>Method or attribute name: function getCallStateSync(): CallState;|@o…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-telephony.md | 290 …te: CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function on(type: 'callS… 291 …CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function on(type: 'callState… 299 …e: CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function off(type: 'callS…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-telephony.md | 149 …or 属性:function on(type: 'callStateChange', callback: Callback\<{ state: CallState, number: string … 150 …ange', options: { slotId: number },<br> callback: Callback\<{ state: CallState, number: string … 151 … 属性:function off(type: 'callStateChange', callback?: Callback\<{ state: CallState, number: string …
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/ |
H A D | js-apidiff-v3.0-lts.md | 162 …话子系统-call|getCallState(callback: AsyncCallback\<CallState>): void;<br/>getCallState(): Promise\<Ca…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-telephony.md | 290 …CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute… 291 …CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute… 299 …CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute…
|
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/ |
H A D | js-apidiff-telephony.md | 149 …name: function on(type: 'callStateChange', callback: Callback\<{ state: CallState, number: string … 150 …ange', options: { slotId: number },<br> callback: Callback\<{ state: CallState, number: string … 151 …me: function off(type: 'callStateChange', callback?: Callback\<{ state: CallState, number: string …
|