Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
e83965bc
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
e83965bc
编写于
1月 03, 2023
作者:
Z
zengyawen
提交者:
Gitee
1月 03, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
格式修改
Signed-off-by:
N
zengyawen
<
zengyawen1@huawei.com
>
上级
aade4b0d
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
20 addition
and
20 deletion
+20
-20
zh-cn/application-dev/reference/apis/js-apis-sim.md
zh-cn/application-dev/reference/apis/js-apis-sim.md
+20
-20
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-sim.md
浏览文件 @
e83965bc
...
@@ -687,7 +687,7 @@ promise.then(data => {
...
@@ -687,7 +687,7 @@ promise.then(data => {
});
});
```
```
## sim.
**setShowName**
<sup>8+</sup>
## sim.
setShowName
<sup>8+</sup>
setShowName
\(
slotId: number, name: string, callback: AsyncCallback<void
\>\)
: void
setShowName
\(
slotId: number, name: string, callback: AsyncCallback<void
\>\)
: void
...
@@ -716,7 +716,7 @@ sim.setShowName(0, name, (err, data) => {
...
@@ -716,7 +716,7 @@ sim.setShowName(0, name, (err, data) => {
});
});
```
```
## sim.
**setShowName**
<sup>8+</sup>
## sim.
setShowName
<sup>8+</sup>
setShowName
\(
slotId: number, name: string
\)
: Promise
\<
void
\>
setShowName
\(
slotId: number, name: string
\)
: Promise
\<
void
\>
...
@@ -753,7 +753,7 @@ promise.then(data => {
...
@@ -753,7 +753,7 @@ promise.then(data => {
});
});
```
```
## sim.
**getShowName**
<sup>8+</sup>
## sim.
getShowName
<sup>8+</sup>
getShowName(slotId: number, callback: AsyncCallback<string
\>
): void
getShowName(slotId: number, callback: AsyncCallback<string
\>
): void
...
@@ -781,7 +781,7 @@ sim.getShowName(0, (err, data) => {
...
@@ -781,7 +781,7 @@ sim.getShowName(0, (err, data) => {
```
```
## sim.
**getShowName**
<sup>8+</sup>
## sim.
getShowName
<sup>8+</sup>
getShowName(slotId: number): Promise<string
\>
getShowName(slotId: number): Promise<string
\>
...
@@ -816,7 +816,7 @@ promise.then(data => {
...
@@ -816,7 +816,7 @@ promise.then(data => {
});
});
```
```
## sim.
**setShowNumber**
<sup>8+</sup>
## sim.
setShowNumber
<sup>8+</sup>
setShowNumber
\(
slotId: number, number: string, callback: AsyncCallback<void
\>\)
: void
setShowNumber
\(
slotId: number, number: string, callback: AsyncCallback<void
\>\)
: void
...
@@ -846,7 +846,7 @@ sim.setShowNumber(0, number, (err, data) => {
...
@@ -846,7 +846,7 @@ sim.setShowNumber(0, number, (err, data) => {
```
```
## sim.
**setShowNumber**
<sup>8+</sup>
## sim.
setShowNumber
<sup>8+</sup>
setShowNumber
\(
slotId: number, number: string
\)
: Promise
\<
void
\>
setShowNumber
\(
slotId: number, number: string
\)
: Promise
\<
void
\>
...
@@ -883,7 +883,7 @@ promise.then(data => {
...
@@ -883,7 +883,7 @@ promise.then(data => {
});
});
```
```
## sim.
**getShowNumber**
<sup>8+</sup>
## sim.
getShowNumber
<sup>8+</sup>
getShowNumber(slotId: number, callback: AsyncCallback<string
\>
): void
getShowNumber(slotId: number, callback: AsyncCallback<string
\>
): void
...
@@ -911,7 +911,7 @@ sim.getShowNumber(0, (err, data) => {
...
@@ -911,7 +911,7 @@ sim.getShowNumber(0, (err, data) => {
```
```
## sim.
**getShowNumber**
<sup>8+</sup>
## sim.
getShowNumber
<sup>8+</sup>
getShowNumber(slotId: number): Promise<string
\>
getShowNumber(slotId: number): Promise<string
\>
...
@@ -946,7 +946,7 @@ promise.then(data => {
...
@@ -946,7 +946,7 @@ promise.then(data => {
});
});
```
```
## sim.
**activateSim**
<sup>8+</sup>
## sim.
activateSim
<sup>8+</sup>
activateSim(slotId: number, callback: AsyncCallback<void
\>
): void
activateSim(slotId: number, callback: AsyncCallback<void
\>
): void
...
@@ -974,7 +974,7 @@ sim.activateSim(0, (err, data) => {
...
@@ -974,7 +974,7 @@ sim.activateSim(0, (err, data) => {
```
```
## sim.
**activateSim**
<sup>8+</sup>
## sim.
activateSim
<sup>8+</sup>
activateSim(slotId: number): Promise
\<
void
\>
activateSim(slotId: number): Promise
\<
void
\>
...
@@ -1009,7 +1009,7 @@ promise.then(data => {
...
@@ -1009,7 +1009,7 @@ promise.then(data => {
});
});
```
```
## sim.
**deactivateSim**
<sup>8+</sup>
## sim.
deactivateSim
<sup>8+</sup>
deactivateSim(slotId: number, callback: AsyncCallback<void
\>
): void
deactivateSim(slotId: number, callback: AsyncCallback<void
\>
): void
...
@@ -1037,7 +1037,7 @@ sim.deactivateSim(0, (err, data) => {
...
@@ -1037,7 +1037,7 @@ sim.deactivateSim(0, (err, data) => {
```
```
## sim.
**deactivateSim**
<sup>8+</sup>
## sim.
deactivateSim
<sup>8+</sup>
deactivateSim(slotId: number): Promise
\<
void
\>
deactivateSim(slotId: number): Promise
\<
void
\>
...
@@ -1346,7 +1346,7 @@ promise.then(data => {
...
@@ -1346,7 +1346,7 @@ promise.then(data => {
});
});
```
```
## sim.
**unlockPin**
<sup>7+</sup>
## sim.
unlockPin
<sup>7+</sup>
unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse
\>
): void
unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse
\>
): void
...
@@ -1376,7 +1376,7 @@ sim.unlockPin(0, pin, (err, data) => {
...
@@ -1376,7 +1376,7 @@ sim.unlockPin(0, pin, (err, data) => {
```
```
## sim.
**unlockPin**
<sup>7+</sup>
## sim.
unlockPin
<sup>7+</sup>
unlockPin(slotId: number, pin: string): Promise
<
LockStatusResponse
\>
unlockPin(slotId: number, pin: string): Promise
<
LockStatusResponse
\>
...
@@ -1413,7 +1413,7 @@ promise.then(data => {
...
@@ -1413,7 +1413,7 @@ promise.then(data => {
});
});
```
```
## sim.
**unlockPuk**
<sup>7+</sup>
## sim.
unlockPuk
<sup>7+</sup>
unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatusResponse
\>
): void
unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatusResponse
\>
): void
...
@@ -1445,7 +1445,7 @@ sim.unlockPuk(0, newPin, puk, (err, data) => {
...
@@ -1445,7 +1445,7 @@ sim.unlockPuk(0, newPin, puk, (err, data) => {
```
```
## sim.
**unlockPuk**
<sup>7+</sup>
## sim.
unlockPuk
<sup>7+</sup>
unlockPuk(slotId: number, newPin: string, puk: string): Promise
<
LockStatusResponse
\>
unlockPuk(slotId: number, newPin: string, puk: string): Promise
<
LockStatusResponse
\>
...
@@ -1484,7 +1484,7 @@ promise.then(data => {
...
@@ -1484,7 +1484,7 @@ promise.then(data => {
});
});
```
```
## sim.
**unlockPin**
2<sup>8+</sup>
## sim.
unlockPin
2<sup>8+</sup>
unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse
\>
): void
unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse
\>
): void
...
@@ -1514,7 +1514,7 @@ sim.unlockPin2(0, pin2, (err, data) => {
...
@@ -1514,7 +1514,7 @@ sim.unlockPin2(0, pin2, (err, data) => {
```
```
## sim.
**unlockPin**
2<sup>8+</sup>
## sim.
unlockPin
2<sup>8+</sup>
unlockPin2(slotId: number, pin2: string): Promise
<
LockStatusResponse
\>
unlockPin2(slotId: number, pin2: string): Promise
<
LockStatusResponse
\>
...
@@ -1551,7 +1551,7 @@ promise.then(data => {
...
@@ -1551,7 +1551,7 @@ promise.then(data => {
});
});
```
```
## sim.
**unlockPuk**
2<sup>8+</sup>
## sim.
unlockPuk
2<sup>8+</sup>
unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback<LockStatusResponse
\>
): void
unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback<LockStatusResponse
\>
): void
...
@@ -1583,7 +1583,7 @@ sim.unlockPuk2(0, newPin2, puk2, (err, data) => {
...
@@ -1583,7 +1583,7 @@ sim.unlockPuk2(0, newPin2, puk2, (err, data) => {
```
```
## sim.
**unlockPuk2**
<sup>8+</sup>
## sim.
unlockPuk2
<sup>8+</sup>
unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise
<
LockStatusResponse
\>
unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise
<
LockStatusResponse
\>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录