未验证 提交 d0d7556c 编写于 作者: O openharmony_ci 提交者: Gitee

!7127 用词规范修改(需要翻译)+codelabs/sample增加(无需翻译)

Merge pull request !7127 from zengyawen/master
......@@ -74,4 +74,5 @@ httpRequest.request(
## 相关实例
针对HTTP数据请求,有以下相关实例可供参考:
- [`Http`:数据请求(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/Http)
\ No newline at end of file
- [`Http`:数据请求(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/Http)
- [使用HTTP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/SmartChatEtsOH)
\ No newline at end of file
......@@ -126,3 +126,5 @@ UDP与TCP流程大体类似,下面以TCP为例:
## 相关实例
针对Socket连接开发,有以下相关实例可供参考:
- [`Socket`:Socket 连接(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/Socket)
- [使用UDP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/UdpDemoOH)
- [使用TCP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/TcpSocketDemo)
\ No newline at end of file
......@@ -83,3 +83,8 @@ WebSocket连接功能主要由webSocket模块提供。使用该功能需要申
}
});
```
## 相关实例
针对WebSocket连接的开发,有以下相关实例可供参考:
- [`WebSocket`:WebSocket(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/WebSocket)
\ No newline at end of file
......@@ -258,5 +258,5 @@ export class AudioDemo {
- [`JsDistributedMusicPlayer`:分布式音乐播放(JS)(API7)](https://gitee.com/openharmony/app_samples/tree/master/ability/JsDistributedMusicPlayer)
- [`JsAudioPlayer`:音频播放和管理(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/JsAudioPlayer)
- [`eTsAudioPlayer`: 音频播放器(eTS)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
\ No newline at end of file
- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
\ No newline at end of file
......@@ -192,5 +192,5 @@ export class AudioRecorderDemo {
- [`Recorder`:录音机(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/Recorder)
- [`JsRecorder`:录音机(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/JSRecorder)
- [`eTsAudioPlayer`: 音频播放器(eTS)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
......@@ -296,4 +296,11 @@ public async init(surfaceId: any) {
// 调用Camera方法将surfaceId传递给Camera。camera会通过surfaceId获取surface,并生产出surface buffer。
}
```
\ No newline at end of file
```
## 相关实例
针对图片开发,有以下相关实例可供参考:
- [`Image`:图片处理(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/Image)
- [`GamePuzzle`:拼图(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/media/GamePuzzle)
\ No newline at end of file
......@@ -445,4 +445,5 @@ export class VideoPlayerDemo {
## 相关实例
针对视频播放开发,有以下相关实例可供参考:
- [`VideoPlayer`:视频播放(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/media/VideoPlayer)
\ No newline at end of file
- [`VideoPlayer`:视频播放(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/media/VideoPlayer)
- [视频播放器(eTS)(API 9)](https://gitee.com/openharmony/codelabs/tree/master/Media/VideoPlayerStage)
\ No newline at end of file
......@@ -518,7 +518,7 @@ promise.then(data => {
muteRinger\(callback: AsyncCallback<void\>\): void
如果来电铃声响起,手机将停止铃声。否则,此方法不起作用。使用callback异步回调。
如果来电铃声响起,设备将停止铃声。否则,此方法不起作用。使用callback异步回调。
此接口为系统接口。
......@@ -545,7 +545,7 @@ call.muteRinger((err, data) => {
muteRinger\(\): Promise<void\>
如果来电铃声响起,手机将停止铃声。否则,此方法不起作用。使用Promise异步回调。
如果来电铃声响起,设备将停止铃声。否则,此方法不起作用。使用Promise异步回调。
此接口为系统接口。
......
......@@ -1479,7 +1479,7 @@ promise.then(data => {
| enable | boolean | 是 | 可行 |
| startMessageId | number | 是 | 消息起始ID |
| endMessageId | number | 是 | 消息结束ID |
| ranType | [RanType](#rantype7) | 是 | 手机网络制式 |
| ranType | [RanType](#rantype7) | 是 | 设备网络制式 |
## SimMessageStatus<sup>7+</sup>
......@@ -1499,7 +1499,7 @@ SIM卡消息状态。
## RanType<sup>7+</sup>
手机网络制式。
设备网络制式。
此接口为系统接口。
......
......@@ -182,3 +182,10 @@
```
> **说明:**
> 动态授权申请接口的使用详见[API参考](../reference/apis/js-apis-ability-context.md)。
## 相关实例
针对访问控制,有以下相关实例可供参考:
- [`AbilityAccessCtrl`:访问权限控制(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Safety/AbilityAccessCtrl)
- [为应用添加运行时权限(eTS)(API 9)](https://gitee.com/openharmony/codelabs/tree/master/Ability/AccessPermission)
\ No newline at end of file
......@@ -111,3 +111,9 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括检测认证
console.error("cancel auth fail");
}
```
## 相关实例
针对用户认证开发,有以下相关实例可供参考:
- [`UserAuth`:用户认证(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/Safety/UserAuth)
......@@ -49,3 +49,8 @@ radio模块提供了获取当前网络信号信息的方法。observer模块为
console.log("signal info change, data is:" + JSON.stringify(data));
});
```
## 相关实例
针对蜂窝网络数据开发,有以下相关实例可供参考:
- [`MobileNetwork`:蜂窝数据(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/Telephony/MobileNetwork)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册