提交 ad3a0c0e 编写于 作者: D dingxiaochen

add sync interface doc.

Signed-off-by: Ndingxiaochen <dingxiaochen@huawei.com>
上级 323eb165
...@@ -648,8 +648,8 @@ getSimStateSync\(slotId: number\): SimState ...@@ -648,8 +648,8 @@ getSimStateSync\(slotId: number\): SimState
**返回值:** **返回值:**
| 类型 | 说明 | | 类型 | 说明 |
| -------------------------------- | ------------------------------------------ | | ---------------------------- | ------------------------------------------ |
| \<[SimState](#simstate)\> | 返回获取指定卡槽的SIM卡状态。 | | [SimState](#simstate) | 返回获取指定卡槽的SIM卡状态。 |
**示例:** **示例:**
...@@ -742,7 +742,7 @@ promise.then(data => { ...@@ -742,7 +742,7 @@ promise.then(data => {
## sim.getCardTypeSync<sup>10+</sup> ## sim.getCardTypeSync<sup>10+</sup>
getCardType\(slotId: number\): CardType getCardTypeSync\(slotId: number\): CardType
获取指定卡槽SIM卡的卡类型。结果会直接返回。 获取指定卡槽SIM卡的卡类型。结果会直接返回。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册