Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
d0d7556c
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
d0d7556c
编写于
7月 26, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
!7127 用词规范修改(需要翻译)+codelabs/sample增加(无需翻译)
Merge pull request !7127 from zengyawen/master
上级
7ac2f458
8f379856
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
45 addition
and
11 deletion
+45
-11
zh-cn/application-dev/connectivity/http-request.md
zh-cn/application-dev/connectivity/http-request.md
+2
-1
zh-cn/application-dev/connectivity/socket-connection.md
zh-cn/application-dev/connectivity/socket-connection.md
+2
-0
zh-cn/application-dev/connectivity/websocket-connection.md
zh-cn/application-dev/connectivity/websocket-connection.md
+5
-0
zh-cn/application-dev/media/audio-playback.md
zh-cn/application-dev/media/audio-playback.md
+2
-2
zh-cn/application-dev/media/audio-recorder.md
zh-cn/application-dev/media/audio-recorder.md
+2
-2
zh-cn/application-dev/media/image.md
zh-cn/application-dev/media/image.md
+8
-1
zh-cn/application-dev/media/video-playback.md
zh-cn/application-dev/media/video-playback.md
+2
-1
zh-cn/application-dev/reference/apis/js-apis-call.md
zh-cn/application-dev/reference/apis/js-apis-call.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-sms.md
zh-cn/application-dev/reference/apis/js-apis-sms.md
+2
-2
zh-cn/application-dev/security/accesstoken-guidelines.md
zh-cn/application-dev/security/accesstoken-guidelines.md
+7
-0
zh-cn/application-dev/security/userauth-guidelines.md
zh-cn/application-dev/security/userauth-guidelines.md
+6
-0
zh-cn/application-dev/telephony/cellular-network-signal-info.md
...application-dev/telephony/cellular-network-signal-info.md
+5
-0
未找到文件。
zh-cn/application-dev/connectivity/http-request.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/connectivity/socket-connection.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/connectivity/websocket-connection.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/media/audio-playback.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/media/audio-recorder.md
浏览文件 @
d0d7556c
...
...
@@ -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
)
zh-cn/application-dev/media/image.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/media/video-playback.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/reference/apis/js-apis-call.md
浏览文件 @
d0d7556c
...
...
@@ -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异步回调。
此接口为系统接口。
...
...
zh-cn/application-dev/reference/apis/js-apis-sms.md
浏览文件 @
d0d7556c
...
...
@@ -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>
手机
网络制式。
设备
网络制式。
此接口为系统接口。
...
...
zh-cn/application-dev/security/accesstoken-guidelines.md
浏览文件 @
d0d7556c
...
...
@@ -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
zh-cn/application-dev/security/userauth-guidelines.md
浏览文件 @
d0d7556c
...
...
@@ -111,3 +111,9 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括检测认证
console
.
error
(
"
cancel auth fail
"
);
}
```
## 相关实例
针对用户认证开发,有以下相关实例可供参考:
-
[
`UserAuth`:用户认证(eTS)(API9)
](
https://gitee.com/openharmony/app_samples/tree/master/Safety/UserAuth
)
zh-cn/application-dev/telephony/cellular-network-signal-info.md
浏览文件 @
d0d7556c
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录