提交 1fc5458e 编写于 作者: D dingxiaochen

add sync interface docs.

Signed-off-by: Ndingxiaochen <dingxiaochen@huawei.com>
上级 ad3a0c0e
...@@ -396,9 +396,9 @@ promise.then(data => { ...@@ -396,9 +396,9 @@ promise.then(data => {
## call.hasCallSync<sup>10+</sup> ## call.hasCallSync<sup>10+</sup>
hasCallSync\(\): boolean; hasCallSync\(\): boolean
判断是否存在通话。结果会直接返回。 判断是否存在通话。
**系统能力**:SystemCapability.Telephony.CallManager **系统能力**:SystemCapability.Telephony.CallManager
...@@ -468,7 +468,7 @@ promise.then(data => { ...@@ -468,7 +468,7 @@ promise.then(data => {
getCallStateSync\(\): CallState getCallStateSync\(\): CallState
获取当前通话状态。结果会直接返回。 获取当前通话状态。
**系统能力**:SystemCapability.Telephony.CallManager **系统能力**:SystemCapability.Telephony.CallManager
......
...@@ -394,7 +394,7 @@ promise.then(data => { ...@@ -394,7 +394,7 @@ promise.then(data => {
getISOCountryCodeForNetworkSync\(slotId: number\): string getISOCountryCodeForNetworkSync\(slotId: number\): string
获取注册网络所在国家的ISO国家码。结果会直接返回。 获取注册网络所在国家的ISO国家码。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -575,7 +575,7 @@ promise.then(data => { ...@@ -575,7 +575,7 @@ promise.then(data => {
getSignalInformationSync\(slotId: number\): Array\<SignalInformation\> getSignalInformationSync\(slotId: number\): Array\<SignalInformation\>
获取指定SIM卡槽对应的注册网络信号强度信息列表。结果会直接返回。 获取指定SIM卡槽对应的注册网络信号强度信息列表。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -920,7 +920,7 @@ promise.then(data => { ...@@ -920,7 +920,7 @@ promise.then(data => {
getOperatorNameSync\(slotId: number\): string getOperatorNameSync\(slotId: number\): string
获取运营商名称。结果会直接返回。 获取运营商名称。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
......
...@@ -72,7 +72,7 @@ promise.then(data => { ...@@ -72,7 +72,7 @@ promise.then(data => {
isSimActiveSync\(slotId: number\): boolean isSimActiveSync\(slotId: number\): boolean
获取指定卡槽SIM卡是否激活。结果会直接返回。 获取指定卡槽SIM卡是否激活。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -307,7 +307,7 @@ promise.then(data => { ...@@ -307,7 +307,7 @@ promise.then(data => {
getISOCountryCodeForSimSync\(slotId: number\): string getISOCountryCodeForSimSync\(slotId: number\): string
获取指定卡槽SIM卡的ISO国家码。结果会直接返回。 获取指定卡槽SIM卡的ISO国家码。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -417,7 +417,7 @@ promise.then(data => { ...@@ -417,7 +417,7 @@ promise.then(data => {
getSimOperatorNumericSync\(slotId: number\): string getSimOperatorNumericSync\(slotId: number\): string
获取指定卡槽SIM卡的归属PLMN(Public Land Mobile Network)号。结果会直接返回。 获取指定卡槽SIM卡的归属PLMN(Public Land Mobile Network)号。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -527,7 +527,7 @@ promise.then(data => { ...@@ -527,7 +527,7 @@ promise.then(data => {
getSimSpnSync\(slotId: number\): string getSimSpnSync\(slotId: number\): string
获取指定卡槽SIM卡的服务提供商名称(Service Provider Name,SPN)。结果会直接返回。 获取指定卡槽SIM卡的服务提供商名称(Service Provider Name,SPN)。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -635,7 +635,7 @@ promise.then(data => { ...@@ -635,7 +635,7 @@ promise.then(data => {
getSimStateSync\(slotId: number\): SimState getSimStateSync\(slotId: number\): SimState
获取指定卡槽的SIM卡状态。结果会直接返回。 获取指定卡槽的SIM卡状态。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -744,7 +744,7 @@ promise.then(data => { ...@@ -744,7 +744,7 @@ promise.then(data => {
getCardTypeSync\(slotId: number\): CardType getCardTypeSync\(slotId: number\): CardType
获取指定卡槽SIM卡的卡类型。结果会直接返回。 获取指定卡槽SIM卡的卡类型。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -852,7 +852,7 @@ promise.then(data => { ...@@ -852,7 +852,7 @@ promise.then(data => {
hasSimCardSync\(slotId: number\): boolean hasSimCardSync\(slotId: number\): boolean
获取指定卡槽SIM卡是否插卡。结果会直接返回。 获取指定卡槽SIM卡是否插卡。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -4101,7 +4101,7 @@ try { ...@@ -4101,7 +4101,7 @@ try {
getOpKeySync\(slotId: number\): string getOpKeySync\(slotId: number\): string
获取指定卡槽中SIM卡的opkey。结果会直接返回。 获取指定卡槽中SIM卡的opkey。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
...@@ -4218,7 +4218,7 @@ try { ...@@ -4218,7 +4218,7 @@ try {
getOpNameSync\(slotId: number\): string getOpNameSync\(slotId: number\): string
获取指定卡槽中SIM卡的OpName。结果会直接返回。 获取指定卡槽中SIM卡的OpName。
**系统能力**:SystemCapability.Telephony.CoreService **系统能力**:SystemCapability.Telephony.CoreService
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册