Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
97d43229
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看板
未验证
提交
97d43229
编写于
8月 15, 2023
作者:
O
openharmony_ci
提交者:
Gitee
8月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
!22327 [翻译完成】#I7MF6P
Merge pull request !22327 from Annie_wang/PR21061
上级
dfa292ee
b1e68b6d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
28 deletion
+7
-28
en/application-dev/reference/apis/js-apis-rpc.md
en/application-dev/reference/apis/js-apis-rpc.md
+7
-28
未找到文件。
en/application-dev/reference/apis/js-apis-rpc.md
浏览文件 @
97d43229
...
...
@@ -293,14 +293,6 @@ Sets the size of the data contained in this **MessageSequence** object.
| ------ | ------ | ---- | ------ |
| size | number | Yes | Data size to set, in bytes.|
**Error codes**
For details about the error codes, see
[
RPC Error Codes
](
../errorcodes/errorcode-rpc.md
)
.
| ID| Error Message|
| -------- | -------- |
| 1900009 | write data to message sequence failed |
**Example**
```
ts
...
...
@@ -334,7 +326,6 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message|
| -------- | -------- |
| 1900009 | write data to message sequence failed |
| 1900011 | parcel memory alloc failed |
**Example**
...
...
@@ -461,12 +452,6 @@ Moves the read pointer to the specified position.
| ------ | ------ | ---- | ------- |
| pos | number | Yes | Position from which data is to read.|
**Error codes**
| ID| Error Message|
| -------- | -------- |
| 1900010 | read data from message sequence failed |
**Example**
```
ts
...
...
@@ -499,12 +484,6 @@ Moves the write pointer to the specified position.
| ------ | ------ | ---- | ----- |
| pos | number | Yes | Position from which data is to write.|
**Error codes**
| ID| Error Message|
| -------- | -------- |
| 1900009 | write data to message sequence failed |
**Example**
```
ts
...
...
@@ -2945,8 +2924,8 @@ Writes an anonymous shared object to this **MessageSequence** object.
For details about the error codes, see
[
RPC Error Codes
](
../errorcodes/errorcode-rpc.md
)
.
| ID| Error Message|
| -------- | -------
-
|
| 190000
9 | write data to message sequence
failed |
| -------- | ------- |
| 190000
3 | write to ashmem
failed |
**Example**
...
...
@@ -2979,7 +2958,7 @@ Reads the anonymous shared object from this **MessageSequence** object.
| Type | Description |
| ------ | ------------------ |
| Ashmem | Anonymous share object
rea
d.|
| Ashmem | Anonymous share object
obtaine
d.|
**Error codes**
...
...
@@ -2987,7 +2966,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message|
| -------- | -------- |
| 19000
10 | read data from message sequence
failed |
| 19000
04 | read from ashmem
failed |
**Example**
...
...
@@ -3091,7 +3070,7 @@ Reads raw data from this **MessageSequence** object.
| Type | Description |
| -------- | ------------------------------ |
| number[] | Raw data
rea
d, in bytes.|
| number[] | Raw data
obtaine
d, in bytes.|
**Error codes**
...
...
@@ -5960,7 +5939,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message|
| -------- | -------- |
| 190000
5 | only proxy object permitte
d |
| 190000
8 | proxy or remote object is invali
d |
### addDeathrecipient<sup>(deprecated)</sup>
...
...
@@ -6006,7 +5985,7 @@ For details about the error codes, see [RPC Error Codes](../errorcodes/errorcode
| ID| Error Message|
| -------- | -------- |
| 190000
5 | only proxy object permitte
d |
| 190000
8 | proxy or remote object is invali
d |
### removeDeathRecipient<sup>(deprecated)</sup>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录