diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index 2099f741b11d2a59138c921b2b38f9762a3829c3..3ff974a7558c559153b9f2c6c1ff02df4843297e 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -21,7 +21,7 @@ import socket from "./@ohos.net.socket"; * Provides interfaces to manage and use data networks. * * @since 8 - * @sysCap SystemCapability.Communication.NetManager.Core + * @syscap SystemCapability.Communication.NetManager.Core */ declare namespace connection { type HttpRequest = http.HttpRequest; diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index 8e5a182da1d46e7d767cd676836754987c538a3f..9d555afdde77c8873a33342ed88cf9752506fed7 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback, Callback} from "./basic"; * Provides http related APIs. * * @since 6 - * @sysCap SystemCapability.Communication.NetStack + * @syscap SystemCapability.Communication.NetStack */ declare namespace http { /** diff --git a/api/@ohos.net.socket.d.ts b/api/@ohos.net.socket.d.ts index 61d4ea4165a7face43f4b04b74e8d7a1d9ff3320..ccabf9041a3e6fed0a43eb75f8b84bf296ec5dc8 100644 --- a/api/@ohos.net.socket.d.ts +++ b/api/@ohos.net.socket.d.ts @@ -20,7 +20,7 @@ import connection from "./@ohos.net.connection"; * Provides TCP and UDP Socket APIs. * * @since 7 - * @sysCap SystemCapability.Communication.NetStack + * @syscap SystemCapability.Communication.NetStack */ declare namespace socket { export import NetAddress = connection.NetAddress; diff --git a/api/@ohos.net.statistics.d.ts b/api/@ohos.net.statistics.d.ts index 3b53cec6ab0aec8870cc23a8aad000af13d3e8a5..9f1446839dabd36a14b78a7e5fd01baea7dbc620 100644 --- a/api/@ohos.net.statistics.d.ts +++ b/api/@ohos.net.statistics.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback, Callback} from "./basic"; * Obtains traffic statistics. * * @since 8 - * @sysCap SystemCapability.Communication.NetManager.Core + * @syscap SystemCapability.Communication.NetManager.Core */ declare namespace statistics { /** diff --git a/api/@ohos.telephony.call.d.ts b/api/@ohos.telephony.call.d.ts index 6450e8c35c35e49c5d906ec983717ce1258e369f..7b5a03dd6165bea613bd31b10cac7002b0f2f7d1 100644 --- a/api/@ohos.telephony.call.d.ts +++ b/api/@ohos.telephony.call.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback, Callback} from "./basic"; * Provides methods related to call management. * * @since 6 - * @sysCap SystemCapability.Telephony.CallManager + * @syscap SystemCapability.Telephony.CallManager */ declare namespace call { /** @@ -72,6 +72,18 @@ declare namespace call { function muteRinger(callback: AsyncCallback): void; function muteRinger(): Promise; + /** + * Checks whether a device supports voice calls. + * + *

The system checks whether the device has the capability to initiate a circuit switching (CS) or IP multimedia + * subsystem domain (IMS) call on a telephone service network. If the device supports only packet switching + * (even if the device supports OTT calls), {@code false} is returned. + * + * @return Returns {@code true} if the device supports voice calls; returns {@code false} otherwise. + * @since 7 + */ + function hasVoiceCapability(): boolean; + /** * Checks whether a phone number is on the emergency number list. * diff --git a/api/@ohos.telephony.data.d.ts b/api/@ohos.telephony.data.d.ts index e589ee35d1b27439df7afa980562c813ea56e1ea..24a6fa755671be2a349c21d7184f81325b2ff9cb 100644 --- a/api/@ohos.telephony.data.d.ts +++ b/api/@ohos.telephony.data.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback} from "./basic"; * Provides methods related to cellular data services. * * @since 7 - * @sysCap SystemCapability.Telephony.CellularData + * @syscap SystemCapability.Telephony.CellularData */ declare namespace data { /** diff --git a/api/@ohos.telephony.observer.d.ts b/api/@ohos.telephony.observer.d.ts index 7a99d89d0611a86ecb45d9b625417177d38825c6..e7d6294044df12f73a131bcd017a0265da5de68f 100644 --- a/api/@ohos.telephony.observer.d.ts +++ b/api/@ohos.telephony.observer.d.ts @@ -24,7 +24,7 @@ import sim from "./@ohos.telephony.sim"; * signal strength, call state, the data link connection state and others. * * @since 6 - * @sysCap SystemCapability.Telephony.StateRegistry + * @syscap SystemCapability.Telephony.StateRegistry */ declare namespace observer { type NetworkState = radio.NetworkState; diff --git a/api/@ohos.telephony.radio.d.ts b/api/@ohos.telephony.radio.d.ts index e0377c03289ff415b9218b1d1856fe6a027565bc..cae3d90ff79ea82b000e84a7e08579f3114e1bde 100644 --- a/api/@ohos.telephony.radio.d.ts +++ b/api/@ohos.telephony.radio.d.ts @@ -21,7 +21,7 @@ import {AsyncCallback} from "./basic"; * listen for changes of the network, cell, and signal status of the WCN. * * @since 6 - * @sysCap SystemCapability.Telephony.CoreService + * @syscap SystemCapability.Telephony.CoreService */ declare namespace radio { /** diff --git a/api/@ohos.telephony.sim.d.ts b/api/@ohos.telephony.sim.d.ts index 5cd23a729609035ff193430309d2e9a67a618f75..35b4253181c565e3546fcf2cd6f3f4399d635701 100644 --- a/api/@ohos.telephony.sim.d.ts +++ b/api/@ohos.telephony.sim.d.ts @@ -20,7 +20,7 @@ import {AsyncCallback} from "./basic"; * SIM cards include SIM, USIM, and CSIM cards. * * @since 6 - * @sysCap SystemCapability.Telephony.CoreService + * @syscap SystemCapability.Telephony.CoreService */ declare namespace sim { /** diff --git a/api/@ohos.telephony.sms.d.ts b/api/@ohos.telephony.sms.d.ts index 940e63150d1dcadc1f389e3e80f228878e6e6a96..2a18155c134cf483126082fc6bef0aae38ca780b 100644 --- a/api/@ohos.telephony.sms.d.ts +++ b/api/@ohos.telephony.sms.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback} from "./basic"; * Provides the capabilities and methods for obtaining Short Message Service (SMS) management objects. * * @since 6 - * @sysCap SystemCapability.Telephony.SmsMms + * @syscap SystemCapability.Telephony.SmsMms */ declare namespace sms { /**