Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
8d0b8170
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
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看板
未验证
提交
8d0b8170
编写于
12月 23, 2022
作者:
Y
Yippo
提交者:
Gitee
12月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【IPC&RPC-API参考】检视意见回复
Signed-off-by:
N
Yippo
<
liuyibo12@huawei.com
>
上级
01381b17
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
489 deletion
+3
-489
zh-cn/application-dev/reference/apis/js-apis-rpc.md
zh-cn/application-dev/reference/apis/js-apis-rpc.md
+3
-489
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-rpc.md
浏览文件 @
8d0b8170
...
@@ -46,8 +46,6 @@ import rpc from '@ohos.rpc';
...
@@ -46,8 +46,6 @@ import rpc from '@ohos.rpc';
static create(): MessageSequence
static create(): MessageSequence
**描述**
:
静态方法,创建MessageSequence对象。
静态方法,创建MessageSequence对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -69,8 +67,6 @@ import rpc from '@ohos.rpc';
...
@@ -69,8 +67,6 @@ import rpc from '@ohos.rpc';
reclaim(): void
reclaim(): void
**描述**
:
释放不再使用的MessageSequence对象。
释放不再使用的MessageSequence对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -86,8 +82,6 @@ reclaim(): void
...
@@ -86,8 +82,6 @@ reclaim(): void
writeRemoteObject(object:
[
IRemoteObject
](
#iremoteobject
)
): void
writeRemoteObject(object:
[
IRemoteObject
](
#iremoteobject
)
): void
**描述**
:
序列化远程对象并将其写入MessageSequence对象。
序列化远程对象并将其写入MessageSequence对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -129,8 +123,6 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): void
...
@@ -129,8 +123,6 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): void
readRemoteObject(): IRemoteObject
readRemoteObject(): IRemoteObject
**描述**
:
从MessageSequence读取远程对象。此方法用于反序列化MessageSequence对象以生成IRemoteObject。远程对象按写入MessageSequence的顺序读取。
从MessageSequence读取远程对象。此方法用于反序列化MessageSequence对象以生成IRemoteObject。远程对象按写入MessageSequence的顺序读取。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -173,8 +165,6 @@ readRemoteObject(): IRemoteObject
...
@@ -173,8 +165,6 @@ readRemoteObject(): IRemoteObject
writeInterfaceToken(token: string): void
writeInterfaceToken(token: string): void
**描述**
:
将接口描述符写入MessageSequence对象,远端对象可使用该信息校验本次通信。
将接口描述符写入MessageSequence对象,远端对象可使用该信息校验本次通信。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -209,8 +199,6 @@ writeInterfaceToken(token: string): void
...
@@ -209,8 +199,6 @@ writeInterfaceToken(token: string): void
readInterfaceToken(): string
readInterfaceToken(): string
**描述**
:
从MessageSequence对象中读取接口描述符,接口描述符按写入MessageSequence的顺序读取,本地对象可使用该信息检验本次通信。
从MessageSequence对象中读取接口描述符,接口描述符按写入MessageSequence的顺序读取,本地对象可使用该信息检验本次通信。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -250,8 +238,6 @@ class Stub extends rpc.RemoteObject {
...
@@ -250,8 +238,6 @@ class Stub extends rpc.RemoteObject {
getSize(): number
getSize(): number
**描述**
:
获取当前创建的MessageSequence对象的数据大小。
获取当前创建的MessageSequence对象的数据大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -274,8 +260,6 @@ getSize(): number
...
@@ -274,8 +260,6 @@ getSize(): number
getCapacity(): number
getCapacity(): number
**描述**
:
获取当前MessageSequence对象的容量大小。
获取当前MessageSequence对象的容量大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -298,8 +282,6 @@ getCapacity(): number
...
@@ -298,8 +282,6 @@ getCapacity(): number
setSize(size: number): void
setSize(size: number): void
**描述**
:
设置MessageSequence对象中包含的数据大小。
设置MessageSequence对象中包含的数据大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -327,8 +309,6 @@ setSize(size: number): void
...
@@ -327,8 +309,6 @@ setSize(size: number): void
setCapacity(size: number): void
setCapacity(size: number): void
**描述**
:
设置MessageSequence对象的存储容量。
设置MessageSequence对象的存储容量。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -364,8 +344,6 @@ setCapacity(size: number): void
...
@@ -364,8 +344,6 @@ setCapacity(size: number): void
getWritableBytes(): number
getWritableBytes(): number
**描述**
:
获取MessageSequence的可写字节空间大小。
获取MessageSequence的可写字节空间大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -392,8 +370,6 @@ class Stub extends rpc.RemoteObject {
...
@@ -392,8 +370,6 @@ class Stub extends rpc.RemoteObject {
getReadableBytes(): number
getReadableBytes(): number
**描述**
:
获取MessageSequence的可读字节空间。
获取MessageSequence的可读字节空间。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -420,8 +396,6 @@ class Stub extends rpc.RemoteObject {
...
@@ -420,8 +396,6 @@ class Stub extends rpc.RemoteObject {
getReadPosition(): number
getReadPosition(): number
**描述**
:
获取MessageSequence的读位置。
获取MessageSequence的读位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -444,8 +418,6 @@ getReadPosition(): number
...
@@ -444,8 +418,6 @@ getReadPosition(): number
getWritePosition(): number
getWritePosition(): number
**描述**
:
获取MessageSequence的写位置。
获取MessageSequence的写位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -469,8 +441,6 @@ getWritePosition(): number
...
@@ -469,8 +441,6 @@ getWritePosition(): number
rewindRead(pos: number): void
rewindRead(pos: number): void
**描述**
:
重新偏移读取位置到指定的位置。
重新偏移读取位置到指定的位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -503,8 +473,6 @@ rewindRead(pos: number): void
...
@@ -503,8 +473,6 @@ rewindRead(pos: number): void
rewindWrite(pos: number): void
rewindWrite(pos: number): void
**描述**
:
重新偏移写位置到指定的位置。
重新偏移写位置到指定的位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -535,8 +503,6 @@ rewindWrite(pos: number): void
...
@@ -535,8 +503,6 @@ rewindWrite(pos: number): void
writeByte(val: number): void
writeByte(val: number): void
**描述**
:
将字节值写入MessageSequence实例。
将字节值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -571,8 +537,6 @@ writeByte(val: number): void
...
@@ -571,8 +537,6 @@ writeByte(val: number): void
readByte(): number
readByte(): number
**描述**
:
从MessageSequence实例读取字节值。
从MessageSequence实例读取字节值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -614,8 +578,6 @@ readByte(): number
...
@@ -614,8 +578,6 @@ readByte(): number
writeShort(val: number): void
writeShort(val: number): void
**描述**
:
将短整数值写入MessageSequence实例。
将短整数值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -650,8 +612,6 @@ writeShort(val: number): void
...
@@ -650,8 +612,6 @@ writeShort(val: number): void
readShort(): number
readShort(): number
**描述**
:
从MessageSequence实例读取短整数值。
从MessageSequence实例读取短整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -693,8 +653,6 @@ readShort(): number
...
@@ -693,8 +653,6 @@ readShort(): number
writeInt(val: number): void
writeInt(val: number): void
**描述**
:
将整数值写入MessageSequence实例。
将整数值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -729,8 +687,6 @@ writeInt(val: number): void
...
@@ -729,8 +687,6 @@ writeInt(val: number): void
readInt(): number
readInt(): number
**描述**
:
从MessageSequence实例读取整数值。
从MessageSequence实例读取整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -772,8 +728,6 @@ readInt(): number
...
@@ -772,8 +728,6 @@ readInt(): number
writeLong(val: number): void
writeLong(val: number): void
**描述**
:
将长整数值写入MessageSequence实例。
将长整数值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -808,8 +762,6 @@ writeLong(val: number): void
...
@@ -808,8 +762,6 @@ writeLong(val: number): void
readLong(): number
readLong(): number
**描述**
:
从MessageSequence实例中读取长整数值。
从MessageSequence实例中读取长整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -851,8 +803,6 @@ readLong(): number
...
@@ -851,8 +803,6 @@ readLong(): number
writeFloat(val: number): void
writeFloat(val: number): void
**描述**
:
将浮点值写入MessageSequence实例。
将浮点值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -887,8 +837,6 @@ writeFloat(val: number): void
...
@@ -887,8 +837,6 @@ writeFloat(val: number): void
readFloat(): number
readFloat(): number
**描述**
:
从MessageSequence实例中读取浮点值。
从MessageSequence实例中读取浮点值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -930,8 +878,6 @@ readFloat(): number
...
@@ -930,8 +878,6 @@ readFloat(): number
writeDouble(val: number): void
writeDouble(val: number): void
**描述**
:
将双精度浮点值写入MessageSequence实例。
将双精度浮点值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -966,8 +912,6 @@ writeDouble(val: number): void
...
@@ -966,8 +912,6 @@ writeDouble(val: number): void
readDouble(): number
readDouble(): number
**描述**
:
从MessageSequence实例读取双精度浮点值。
从MessageSequence实例读取双精度浮点值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1009,8 +953,6 @@ readDouble(): number
...
@@ -1009,8 +953,6 @@ readDouble(): number
writeBoolean(val: boolean): void
writeBoolean(val: boolean): void
**描述**
:
将布尔值写入MessageSequence实例。
将布尔值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1045,8 +987,6 @@ writeBoolean(val: boolean): void
...
@@ -1045,8 +987,6 @@ writeBoolean(val: boolean): void
readBoolean(): boolean
readBoolean(): boolean
**描述**
:
从MessageSequence实例读取布尔值。
从MessageSequence实例读取布尔值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1088,8 +1028,6 @@ readBoolean(): boolean
...
@@ -1088,8 +1028,6 @@ readBoolean(): boolean
writeChar(val: number): void
writeChar(val: number): void
**描述**
:
将单个字符值写入MessageSequence实例。
将单个字符值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1124,8 +1062,6 @@ writeChar(val: number): void
...
@@ -1124,8 +1062,6 @@ writeChar(val: number): void
readChar(): number
readChar(): number
**描述**
:
从MessageSequence实例中读取单个字符值。
从MessageSequence实例中读取单个字符值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1167,8 +1103,6 @@ readChar(): number
...
@@ -1167,8 +1103,6 @@ readChar(): number
writeString(val: string): void
writeString(val: string): void
**描述**
:
将字符串值写入MessageSequence实例。
将字符串值写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1203,8 +1137,6 @@ writeString(val: string): void
...
@@ -1203,8 +1137,6 @@ writeString(val: string): void
readString(): string
readString(): string
**描述**
:
从MessageSequence实例读取字符串值。
从MessageSequence实例读取字符串值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1246,8 +1178,6 @@ readString(): string
...
@@ -1246,8 +1178,6 @@ readString(): string
writeParcelable(val: Parcelable): void
writeParcelable(val: Parcelable): void
**描述**
:
将自定义序列化对象写入MessageSequence实例。
将自定义序列化对象写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1301,8 +1231,6 @@ writeParcelable(val: Parcelable): void
...
@@ -1301,8 +1231,6 @@ writeParcelable(val: Parcelable): void
readParcelable(dataIn: Parcelable): void
readParcelable(dataIn: Parcelable): void
**描述**
:
从MessageSequence实例中读取成员变量到指定的对象(dataIn)。
从MessageSequence实例中读取成员变量到指定的对象(dataIn)。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1359,8 +1287,6 @@ readParcelable(dataIn: Parcelable): void
...
@@ -1359,8 +1287,6 @@ readParcelable(dataIn: Parcelable): void
writeByteArray(byteArray: number[]): void
writeByteArray(byteArray: number[]): void
**描述**
:
将字节数组写入MessageSequence实例。
将字节数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1396,8 +1322,6 @@ writeByteArray(byteArray: number[]): void
...
@@ -1396,8 +1322,6 @@ writeByteArray(byteArray: number[]): void
readByteArray(dataIn: number[]): void
readByteArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例读取字节数组。
从MessageSequence实例读取字节数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1440,8 +1364,6 @@ readByteArray(dataIn: number[]): void
...
@@ -1440,8 +1364,6 @@ readByteArray(dataIn: number[]): void
readByteArray(): number[]
readByteArray(): number[]
**描述**
:
从MessageSequence实例中读取字节数组。
从MessageSequence实例中读取字节数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1484,8 +1406,6 @@ readByteArray(): number[]
...
@@ -1484,8 +1406,6 @@ readByteArray(): number[]
writeShortArray(shortArray: number[]): void
writeShortArray(shortArray: number[]): void
**描述**
:
将短整数数组写入MessageSequence实例。
将短整数数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1520,8 +1440,6 @@ writeShortArray(shortArray: number[]): void
...
@@ -1520,8 +1440,6 @@ writeShortArray(shortArray: number[]): void
readShortArray(dataIn: number[]): void
readShortArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例中读取短整数数组。
从MessageSequence实例中读取短整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1563,8 +1481,6 @@ readShortArray(dataIn: number[]): void
...
@@ -1563,8 +1481,6 @@ readShortArray(dataIn: number[]): void
readShortArray(): number[]
readShortArray(): number[]
**描述**
:
从MessageSequence实例中读取短整数数组。
从MessageSequence实例中读取短整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1606,8 +1522,6 @@ readShortArray(): number[]
...
@@ -1606,8 +1522,6 @@ readShortArray(): number[]
writeIntArray(intArray: number[]): void
writeIntArray(intArray: number[]): void
**描述**
:
将整数数组写入MessageSequence实例。
将整数数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1642,8 +1556,6 @@ writeIntArray(intArray: number[]): void
...
@@ -1642,8 +1556,6 @@ writeIntArray(intArray: number[]): void
readIntArray(dataIn: number[]): void
readIntArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例中读取整数数组。
从MessageSequence实例中读取整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1685,8 +1597,6 @@ readIntArray(dataIn: number[]): void
...
@@ -1685,8 +1597,6 @@ readIntArray(dataIn: number[]): void
readIntArray(): number[]
readIntArray(): number[]
**描述**
:
从MessageSequence实例中读取整数数组。
从MessageSequence实例中读取整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1728,8 +1638,6 @@ readIntArray(): number[]
...
@@ -1728,8 +1638,6 @@ readIntArray(): number[]
writeLongArray(longArray: number[]): void
writeLongArray(longArray: number[]): void
**描述**
:
将长整数数组写入MessageSequence实例。
将长整数数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1764,9 +1672,7 @@ writeLongArray(longArray: number[]): void
...
@@ -1764,9 +1672,7 @@ writeLongArray(longArray: number[]): void
readLongArray(dataIn: number[]): void
readLongArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例读取的长整数数组。
从MessageSequence实例读取定长长整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1807,8 +1713,6 @@ readLongArray(dataIn: number[]): void
...
@@ -1807,8 +1713,6 @@ readLongArray(dataIn: number[]): void
readLongArray(): number[]
readLongArray(): number[]
**描述**
:
从MessageSequence实例中读取所有的长整数数组。
从MessageSequence实例中读取所有的长整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1850,8 +1754,6 @@ readLongArray(): number[]
...
@@ -1850,8 +1754,6 @@ readLongArray(): number[]
writeFloatArray(floatArray: number[]): void
writeFloatArray(floatArray: number[]): void
**描述**
:
将浮点数组写入MessageSequence实例。
将浮点数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1886,8 +1788,6 @@ writeFloatArray(floatArray: number[]): void
...
@@ -1886,8 +1788,6 @@ writeFloatArray(floatArray: number[]): void
readFloatArray(dataIn: number[]): void
readFloatArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例中读取浮点数组。
从MessageSequence实例中读取浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1929,8 +1829,6 @@ readFloatArray(dataIn: number[]): void
...
@@ -1929,8 +1829,6 @@ readFloatArray(dataIn: number[]): void
readFloatArray(): number[]
readFloatArray(): number[]
**描述**
:
从MessageSequence实例中读取浮点数组。
从MessageSequence实例中读取浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -1972,8 +1870,6 @@ readFloatArray(): number[]
...
@@ -1972,8 +1870,6 @@ readFloatArray(): number[]
writeDoubleArray(doubleArray: number[]): void
writeDoubleArray(doubleArray: number[]): void
**描述**
:
将双精度浮点数组写入MessageSequence实例。
将双精度浮点数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2008,9 +1904,7 @@ writeDoubleArray(doubleArray: number[]): void
...
@@ -2008,9 +1904,7 @@ writeDoubleArray(doubleArray: number[]): void
readDoubleArray(dataIn: number[]): void
readDoubleArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例中读取双精度浮点数组。
从MessageSequence实例中读取定长双精度浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2051,8 +1945,6 @@ readDoubleArray(dataIn: number[]): void
...
@@ -2051,8 +1945,6 @@ readDoubleArray(dataIn: number[]): void
readDoubleArray(): number[]
readDoubleArray(): number[]
**描述**
:
从MessageSequence实例读取所有双精度浮点数组。
从MessageSequence实例读取所有双精度浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2094,8 +1986,6 @@ readDoubleArray(): number[]
...
@@ -2094,8 +1986,6 @@ readDoubleArray(): number[]
writeBooleanArray(booleanArray: boolean[]): void
writeBooleanArray(booleanArray: boolean[]): void
**描述**
:
将布尔数组写入MessageSequence实例。
将布尔数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2130,9 +2020,7 @@ writeBooleanArray(booleanArray: boolean[]): void
...
@@ -2130,9 +2020,7 @@ writeBooleanArray(booleanArray: boolean[]): void
readBooleanArray(dataIn: boolean[]): void
readBooleanArray(dataIn: boolean[]): void
**描述**
:
从MessageSequence实例中读取布尔数组。
从MessageSequence实例中读取定长布尔数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2173,8 +2061,6 @@ readBooleanArray(dataIn: boolean[]): void
...
@@ -2173,8 +2061,6 @@ readBooleanArray(dataIn: boolean[]): void
readBooleanArray(): boolean[]
readBooleanArray(): boolean[]
**描述**
:
从MessageSequence实例中读取所有布尔数组。
从MessageSequence实例中读取所有布尔数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2216,8 +2102,6 @@ readBooleanArray(): boolean[]
...
@@ -2216,8 +2102,6 @@ readBooleanArray(): boolean[]
writeCharArray(charArray: number[]): void
writeCharArray(charArray: number[]): void
**描述**
:
将单个字符数组写入MessageSequence实例。
将单个字符数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2252,8 +2136,6 @@ writeCharArray(charArray: number[]): void
...
@@ -2252,8 +2136,6 @@ writeCharArray(charArray: number[]): void
readCharArray(dataIn: number[]): void
readCharArray(dataIn: number[]): void
**描述**
:
从MessageSequence实例中读取单个字符数组。
从MessageSequence实例中读取单个字符数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2295,8 +2177,6 @@ readCharArray(dataIn: number[]): void
...
@@ -2295,8 +2177,6 @@ readCharArray(dataIn: number[]): void
readCharArray(): number[]
readCharArray(): number[]
**描述**
:
从MessageSequence实例读取单个字符数组。
从MessageSequence实例读取单个字符数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2339,8 +2219,6 @@ readCharArray(): number[]
...
@@ -2339,8 +2219,6 @@ readCharArray(): number[]
writeStringArray(stringArray: string[]): void
writeStringArray(stringArray: string[]): void
**描述**
:
将字符串数组写入MessageSequence实例。
将字符串数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2375,8 +2253,6 @@ writeStringArray(stringArray: string[]): void
...
@@ -2375,8 +2253,6 @@ writeStringArray(stringArray: string[]): void
readStringArray(dataIn: string[]): void
readStringArray(dataIn: string[]): void
**描述**
:
从MessageSequence实例读取字符串数组。
从MessageSequence实例读取字符串数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2418,8 +2294,6 @@ readStringArray(dataIn: string[]): void
...
@@ -2418,8 +2294,6 @@ readStringArray(dataIn: string[]): void
readStringArray(): string[]
readStringArray(): string[]
**描述**
:
从MessageSequence实例读取字符串数组。
从MessageSequence实例读取字符串数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2461,8 +2335,6 @@ readStringArray(): string[]
...
@@ -2461,8 +2335,6 @@ readStringArray(): string[]
writeNoException(): void
writeNoException(): void
**描述**
:
向MessageSequence写入“指示未发生异常”的信息。
向MessageSequence写入“指示未发生异常”的信息。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2505,8 +2377,6 @@ writeNoException(): void
...
@@ -2505,8 +2377,6 @@ writeNoException(): void
readException(): void
readException(): void
**描述**
:
从MessageSequence中读取异常。
从MessageSequence中读取异常。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2574,8 +2444,6 @@ readException(): void
...
@@ -2574,8 +2444,6 @@ readException(): void
writeParcelableArray(parcelableArray: Parcelable[]): void
writeParcelableArray(parcelableArray: Parcelable[]): void
**描述**
:
将可序列化对象数组写入MessageSequence实例。
将可序列化对象数组写入MessageSequence实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2632,8 +2500,6 @@ writeParcelableArray(parcelableArray: Parcelable[]): void
...
@@ -2632,8 +2500,6 @@ writeParcelableArray(parcelableArray: Parcelable[]): void
readParcelableArray(parcelableArray: Parcelable[]): void
readParcelableArray(parcelableArray: Parcelable[]): void
**描述**
:
从MessageSequence实例读取可序列化对象数组。
从MessageSequence实例读取可序列化对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2695,8 +2561,6 @@ readParcelableArray(parcelableArray: Parcelable[]): void
...
@@ -2695,8 +2561,6 @@ readParcelableArray(parcelableArray: Parcelable[]): void
writeRemoteObjectArray(objectArray: IRemoteObject[]): void
writeRemoteObjectArray(objectArray: IRemoteObject[]): void
**描述**
:
将IRemoteObject对象数组写入MessageSequence。
将IRemoteObject对象数组写入MessageSequence。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2744,8 +2608,6 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): void
...
@@ -2744,8 +2608,6 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): void
readRemoteObjectArray(objects: IRemoteObject[]): void
readRemoteObjectArray(objects: IRemoteObject[]): void
**描述**
:
从MessageSequence读取IRemoteObject对象数组。
从MessageSequence读取IRemoteObject对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2799,8 +2661,6 @@ readRemoteObjectArray(objects: IRemoteObject[]): void
...
@@ -2799,8 +2661,6 @@ readRemoteObjectArray(objects: IRemoteObject[]): void
readRemoteObjectArray(): IRemoteObject[]
readRemoteObjectArray(): IRemoteObject[]
**描述**
:
从MessageSequence读取IRemoteObject对象数组。
从MessageSequence读取IRemoteObject对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2849,8 +2709,6 @@ readRemoteObjectArray(): IRemoteObject[]
...
@@ -2849,8 +2709,6 @@ readRemoteObjectArray(): IRemoteObject[]
static closeFileDescriptor(fd: number): void
static closeFileDescriptor(fd: number): void
**描述**
:
静态方法,关闭给定的文件描述符。
静态方法,关闭给定的文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2879,8 +2737,6 @@ static closeFileDescriptor(fd: number): void
...
@@ -2879,8 +2737,6 @@ static closeFileDescriptor(fd: number): void
static dupFileDescriptor(fd: number) :number
static dupFileDescriptor(fd: number) :number
**描述**
:
静态方法,复制给定的文件描述符。
静态方法,复制给定的文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2923,8 +2779,6 @@ static dupFileDescriptor(fd: number) :number
...
@@ -2923,8 +2779,6 @@ static dupFileDescriptor(fd: number) :number
containFileDescriptors(): boolean
containFileDescriptors(): boolean
**描述**
:
检查此MessageSequence对象是否包含文件描述符。
检查此MessageSequence对象是否包含文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -2963,8 +2817,6 @@ containFileDescriptors(): boolean
...
@@ -2963,8 +2817,6 @@ containFileDescriptors(): boolean
writeFileDescriptor(fd: number): void
writeFileDescriptor(fd: number): void
**描述**
:
写入文件描述符到MessageSequence。
写入文件描述符到MessageSequence。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3002,8 +2854,6 @@ writeFileDescriptor(fd: number): void
...
@@ -3002,8 +2854,6 @@ writeFileDescriptor(fd: number): void
readFileDescriptor(): number
readFileDescriptor(): number
**描述**
:
从MessageSequence中读取文件描述符。
从MessageSequence中读取文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3047,8 +2897,6 @@ readFileDescriptor(): number
...
@@ -3047,8 +2897,6 @@ readFileDescriptor(): number
writeAshmem(ashmem: Ashmem): void
writeAshmem(ashmem: Ashmem): void
**描述**
:
将指定的匿名共享对象写入此MessageSequence。
将指定的匿名共享对象写入此MessageSequence。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3091,8 +2939,6 @@ writeAshmem(ashmem: Ashmem): void
...
@@ -3091,8 +2939,6 @@ writeAshmem(ashmem: Ashmem): void
readAshmem(): Ashmem
readAshmem(): Ashmem
**描述**
:
从MessageSequence读取匿名共享对象。
从MessageSequence读取匿名共享对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3141,8 +2987,6 @@ readAshmem(): Ashmem
...
@@ -3141,8 +2987,6 @@ readAshmem(): Ashmem
getRawDataCapacity(): number
getRawDataCapacity(): number
**描述**
:
获取MessageSequence可以容纳的最大原始数据量。
获取MessageSequence可以容纳的最大原始数据量。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3165,8 +3009,6 @@ getRawDataCapacity(): number
...
@@ -3165,8 +3009,6 @@ getRawDataCapacity(): number
writeRawData(rawData: number[], size: number): void
writeRawData(rawData: number[], size: number): void
**描述**
:
将原始数据写入MessageSequence对象。
将原始数据写入MessageSequence对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3203,8 +3045,6 @@ writeRawData(rawData: number[], size: number): void
...
@@ -3203,8 +3045,6 @@ writeRawData(rawData: number[], size: number): void
readRawData(size: number): number[]
readRawData(size: number): number[]
**描述**
:
从MessageSequence读取原始数据。
从MessageSequence读取原始数据。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3259,8 +3099,6 @@ readRawData(size: number): number[]
...
@@ -3259,8 +3099,6 @@ readRawData(size: number): number[]
static create(): MessageParcel
static create(): MessageParcel
**描述**
:
静态方法,创建MessageParcel对象。
静态方法,创建MessageParcel对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3282,8 +3120,6 @@ static create(): MessageParcel
...
@@ -3282,8 +3120,6 @@ static create(): MessageParcel
reclaim(): void
reclaim(): void
**描述**
:
释放不再使用的MessageParcel对象。
释放不再使用的MessageParcel对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3299,8 +3135,6 @@ reclaim(): void
...
@@ -3299,8 +3135,6 @@ reclaim(): void
writeRemoteObject(object:
[
IRemoteObject
](
#iremoteobject
)
): boolean
writeRemoteObject(object:
[
IRemoteObject
](
#iremoteobject
)
): boolean
**描述**
:
序列化远程对象并将其写入MessageParcel对象。
序列化远程对象并将其写入MessageParcel对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3348,8 +3182,6 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): boolean
...
@@ -3348,8 +3182,6 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): boolean
readRemoteObject(): IRemoteObject
readRemoteObject(): IRemoteObject
**描述**
:
从MessageParcel读取远程对象。此方法用于反序列化MessageParcel对象以生成IRemoteObject。远程对象按写入MessageParcel的顺序读取。
从MessageParcel读取远程对象。此方法用于反序列化MessageParcel对象以生成IRemoteObject。远程对象按写入MessageParcel的顺序读取。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3392,8 +3224,6 @@ readRemoteObject(): IRemoteObject
...
@@ -3392,8 +3224,6 @@ readRemoteObject(): IRemoteObject
writeInterfaceToken(token: string): boolean
writeInterfaceToken(token: string): boolean
**描述**
:
将接口描述符写入MessageParcel对象,远端对象可使用该信息校验本次通信。
将接口描述符写入MessageParcel对象,远端对象可使用该信息校验本次通信。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3423,8 +3253,6 @@ writeInterfaceToken(token: string): boolean
...
@@ -3423,8 +3253,6 @@ writeInterfaceToken(token: string): boolean
readInterfaceToken(): string
readInterfaceToken(): string
**描述**
:
从MessageParcel中读取接口描述符,接口描述符按写入MessageParcel的顺序读取,本地对象可使用该信息检验本次通信。
从MessageParcel中读取接口描述符,接口描述符按写入MessageParcel的顺序读取,本地对象可使用该信息检验本次通信。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3451,8 +3279,6 @@ readInterfaceToken(): string
...
@@ -3451,8 +3279,6 @@ readInterfaceToken(): string
getSize(): number
getSize(): number
**描述**
:
获取当前MessageParcel的数据大小。
获取当前MessageParcel的数据大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3475,8 +3301,6 @@ getSize(): number
...
@@ -3475,8 +3301,6 @@ getSize(): number
getCapacity(): number
getCapacity(): number
**描述**
:
获取当前MessageParcel的容量。
获取当前MessageParcel的容量。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3499,8 +3323,6 @@ getCapacity(): number
...
@@ -3499,8 +3323,6 @@ getCapacity(): number
setSize(size: number): boolean
setSize(size: number): boolean
**描述**
:
设置MessageParcel实例中包含的数据大小。
设置MessageParcel实例中包含的数据大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3529,8 +3351,6 @@ setSize(size: number): boolean
...
@@ -3529,8 +3351,6 @@ setSize(size: number): boolean
setCapacity(size: number): boolean
setCapacity(size: number): boolean
**描述**
:
设置MessageParcel实例的存储容量。
设置MessageParcel实例的存储容量。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3559,8 +3379,6 @@ setCapacity(size: number): boolean
...
@@ -3559,8 +3379,6 @@ setCapacity(size: number): boolean
getWritableBytes(): number
getWritableBytes(): number
**描述**
:
获取MessageParcel的可写字节空间。
获取MessageParcel的可写字节空间。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3587,8 +3405,6 @@ getWritableBytes(): number
...
@@ -3587,8 +3405,6 @@ getWritableBytes(): number
getReadableBytes(): number
getReadableBytes(): number
**描述**
:
获取MessageParcel的可读字节空间。
获取MessageParcel的可读字节空间。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3615,8 +3431,6 @@ getReadableBytes(): number
...
@@ -3615,8 +3431,6 @@ getReadableBytes(): number
getReadPosition(): number
getReadPosition(): number
**描述**
:
获取MessageParcel的读位置。
获取MessageParcel的读位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3639,8 +3453,6 @@ getReadPosition(): number
...
@@ -3639,8 +3453,6 @@ getReadPosition(): number
getWritePosition(): number
getWritePosition(): number
**描述**
:
获取MessageParcel的写位置。
获取MessageParcel的写位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3664,8 +3476,6 @@ getWritePosition(): number
...
@@ -3664,8 +3476,6 @@ getWritePosition(): number
rewindRead(pos: number): boolean
rewindRead(pos: number): boolean
**描述**
:
重新偏移读取位置到指定的位置。
重新偏移读取位置到指定的位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3699,8 +3509,6 @@ rewindRead(pos: number): boolean
...
@@ -3699,8 +3509,6 @@ rewindRead(pos: number): boolean
rewindWrite(pos: number): boolean
rewindWrite(pos: number): boolean
**描述**
:
重新偏移写位置到指定的位置。
重新偏移写位置到指定的位置。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3732,8 +3540,6 @@ rewindWrite(pos: number): boolean
...
@@ -3732,8 +3540,6 @@ rewindWrite(pos: number): boolean
writeByte(val: number): boolean
writeByte(val: number): boolean
**描述**
:
将字节值写入MessageParcel实例。
将字节值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3762,8 +3568,6 @@ writeByte(val: number): boolean
...
@@ -3762,8 +3568,6 @@ writeByte(val: number): boolean
readByte(): number
readByte(): number
**描述**
:
从MessageParcel实例读取字节值。
从MessageParcel实例读取字节值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3788,8 +3592,6 @@ readByte(): number
...
@@ -3788,8 +3592,6 @@ readByte(): number
writeShort(val: number): boolean
writeShort(val: number): boolean
**描述**
:
将短整数值写入MessageParcel实例。
将短整数值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3818,8 +3620,6 @@ writeShort(val: number): boolean
...
@@ -3818,8 +3620,6 @@ writeShort(val: number): boolean
readShort(): number
readShort(): number
**描述**
:
从MessageParcel实例读取短整数值。
从MessageParcel实例读取短整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3844,8 +3644,6 @@ readShort(): number
...
@@ -3844,8 +3644,6 @@ readShort(): number
writeInt(val: number): boolean
writeInt(val: number): boolean
**描述**
:
将整数值写入MessageParcel实例。
将整数值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3874,8 +3672,6 @@ writeInt(val: number): boolean
...
@@ -3874,8 +3672,6 @@ writeInt(val: number): boolean
readInt(): number
readInt(): number
**描述**
:
从MessageParcel实例读取整数值。
从MessageParcel实例读取整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3900,8 +3696,6 @@ readInt(): number
...
@@ -3900,8 +3696,6 @@ readInt(): number
writeLong(val: number): boolean
writeLong(val: number): boolean
**描述**
:
将长整数值写入MessageParcel实例。
将长整数值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3930,8 +3724,6 @@ writeLong(val: number): boolean
...
@@ -3930,8 +3724,6 @@ writeLong(val: number): boolean
readLong(): number
readLong(): number
**描述**
:
从MessageParcel实例中读取长整数值。
从MessageParcel实例中读取长整数值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3956,8 +3748,6 @@ readLong(): number
...
@@ -3956,8 +3748,6 @@ readLong(): number
writeFloat(val: number): boolean
writeFloat(val: number): boolean
**描述**
:
将浮点值写入MessageParcel实例。
将浮点值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -3986,8 +3776,6 @@ writeFloat(val: number): boolean
...
@@ -3986,8 +3776,6 @@ writeFloat(val: number): boolean
readFloat(): number
readFloat(): number
**描述**
:
从MessageParcel实例中读取浮点值。
从MessageParcel实例中读取浮点值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4012,8 +3800,6 @@ readFloat(): number
...
@@ -4012,8 +3800,6 @@ readFloat(): number
writeDouble(val: number): boolean
writeDouble(val: number): boolean
**描述**
:
将双精度浮点值写入MessageParcel实例。
将双精度浮点值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4042,8 +3828,6 @@ writeDouble(val: number): boolean
...
@@ -4042,8 +3828,6 @@ writeDouble(val: number): boolean
readDouble(): number
readDouble(): number
**描述**
:
从MessageParcel实例读取双精度浮点值。
从MessageParcel实例读取双精度浮点值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4068,8 +3852,6 @@ readDouble(): number
...
@@ -4068,8 +3852,6 @@ readDouble(): number
writeBoolean(val: boolean): boolean
writeBoolean(val: boolean): boolean
**描述**
:
将布尔值写入MessageParcel实例。
将布尔值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4098,8 +3880,6 @@ writeBoolean(val: boolean): boolean
...
@@ -4098,8 +3880,6 @@ writeBoolean(val: boolean): boolean
readBoolean(): boolean
readBoolean(): boolean
**描述**
:
从MessageParcel实例读取布尔值。
从MessageParcel实例读取布尔值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4124,8 +3904,6 @@ readBoolean(): boolean
...
@@ -4124,8 +3904,6 @@ readBoolean(): boolean
writeChar(val: number): boolean
writeChar(val: number): boolean
**描述**
:
将单个字符值写入MessageParcel实例。
将单个字符值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4154,8 +3932,6 @@ writeChar(val: number): boolean
...
@@ -4154,8 +3932,6 @@ writeChar(val: number): boolean
readChar(): number
readChar(): number
**描述**
:
从MessageParcel实例中读取单个字符值。
从MessageParcel实例中读取单个字符值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4180,8 +3956,6 @@ readChar(): number
...
@@ -4180,8 +3956,6 @@ readChar(): number
writeString(val: string): boolean
writeString(val: string): boolean
**描述**
:
将字符串值写入MessageParcel实例。
将字符串值写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4210,8 +3984,6 @@ writeString(val: string): boolean
...
@@ -4210,8 +3984,6 @@ writeString(val: string): boolean
readString(): string
readString(): string
**描述**
:
从MessageParcel实例读取字符串值。
从MessageParcel实例读取字符串值。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4236,8 +4008,6 @@ readString(): string
...
@@ -4236,8 +4008,6 @@ readString(): string
writeSequenceable(val: Sequenceable): boolean
writeSequenceable(val: Sequenceable): boolean
**描述**
:
将自定义序列化对象写入MessageParcel实例。
将自定义序列化对象写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4285,8 +4055,6 @@ writeSequenceable(val: Sequenceable): boolean
...
@@ -4285,8 +4055,6 @@ writeSequenceable(val: Sequenceable): boolean
readSequenceable(dataIn: Sequenceable): boolean
readSequenceable(dataIn: Sequenceable): boolean
**描述**
:
从MessageParcel实例中读取成员变量到指定的对象(dataIn)。
从MessageParcel实例中读取成员变量到指定的对象(dataIn)。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4337,8 +4105,6 @@ readSequenceable(dataIn: Sequenceable): boolean
...
@@ -4337,8 +4105,6 @@ readSequenceable(dataIn: Sequenceable): boolean
writeByteArray(byteArray: number[]): boolean
writeByteArray(byteArray: number[]): boolean
**描述**
:
将字节数组写入MessageParcel实例。
将字节数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4368,8 +4134,6 @@ writeByteArray(byteArray: number[]): boolean
...
@@ -4368,8 +4134,6 @@ writeByteArray(byteArray: number[]): boolean
readByteArray(dataIn: number[]): void
readByteArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例读取字节数组。
从MessageParcel实例读取字节数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4395,8 +4159,6 @@ readByteArray(dataIn: number[]): void
...
@@ -4395,8 +4159,6 @@ readByteArray(dataIn: number[]): void
readByteArray(): number[]
readByteArray(): number[]
**描述**
:
从MessageParcel实例中读取字节数组。
从MessageParcel实例中读取字节数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4422,8 +4184,6 @@ readByteArray(): number[]
...
@@ -4422,8 +4184,6 @@ readByteArray(): number[]
writeShortArray(shortArray: number[]): boolean
writeShortArray(shortArray: number[]): boolean
**描述**
:
将短整数数组写入MessageParcel实例。
将短整数数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4452,8 +4212,6 @@ writeShortArray(shortArray: number[]): boolean
...
@@ -4452,8 +4212,6 @@ writeShortArray(shortArray: number[]): boolean
readShortArray(dataIn: number[]): void
readShortArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例中读取短整数数组。
从MessageParcel实例中读取短整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4478,8 +4236,6 @@ readShortArray(dataIn: number[]): void
...
@@ -4478,8 +4236,6 @@ readShortArray(dataIn: number[]): void
readShortArray(): number[]
readShortArray(): number[]
**描述**
:
从MessageParcel实例中读取短整数数组。
从MessageParcel实例中读取短整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4504,8 +4260,6 @@ readShortArray(): number[]
...
@@ -4504,8 +4260,6 @@ readShortArray(): number[]
writeIntArray(intArray: number[]): boolean
writeIntArray(intArray: number[]): boolean
**描述**
:
将整数数组写入MessageParcel实例。
将整数数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4534,8 +4288,6 @@ writeIntArray(intArray: number[]): boolean
...
@@ -4534,8 +4288,6 @@ writeIntArray(intArray: number[]): boolean
readIntArray(dataIn: number[]): void
readIntArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例中读取整数数组。
从MessageParcel实例中读取整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4584,8 +4336,6 @@ readIntArray(): number[]
...
@@ -4584,8 +4336,6 @@ readIntArray(): number[]
writeLongArray(longArray: number[]): boolean
writeLongArray(longArray: number[]): boolean
**描述**
:
将长整数数组写入MessageParcel实例。
将长整数数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4614,8 +4364,6 @@ writeLongArray(longArray: number[]): boolean
...
@@ -4614,8 +4364,6 @@ writeLongArray(longArray: number[]): boolean
readLongArray(dataIn: number[]): void
readLongArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例读取长整数数组。
从MessageParcel实例读取长整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4640,8 +4388,6 @@ readLongArray(dataIn: number[]): void
...
@@ -4640,8 +4388,6 @@ readLongArray(dataIn: number[]): void
readLongArray(): number[]
readLongArray(): number[]
**描述**
:
从MessageParcel实例中读取长整数数组。
从MessageParcel实例中读取长整数数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4666,8 +4412,6 @@ readLongArray(): number[]
...
@@ -4666,8 +4412,6 @@ readLongArray(): number[]
writeFloatArray(floatArray: number[]): boolean
writeFloatArray(floatArray: number[]): boolean
**描述**
:
将浮点数组写入MessageParcel实例。
将浮点数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4696,8 +4440,6 @@ writeFloatArray(floatArray: number[]): boolean
...
@@ -4696,8 +4440,6 @@ writeFloatArray(floatArray: number[]): boolean
readFloatArray(dataIn: number[]): void
readFloatArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例中读取浮点数组。
从MessageParcel实例中读取浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4722,8 +4464,6 @@ readFloatArray(dataIn: number[]): void
...
@@ -4722,8 +4464,6 @@ readFloatArray(dataIn: number[]): void
readFloatArray(): number[]
readFloatArray(): number[]
**描述**
:
从MessageParcel实例中读取浮点数组。
从MessageParcel实例中读取浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4748,8 +4488,6 @@ readFloatArray(): number[]
...
@@ -4748,8 +4488,6 @@ readFloatArray(): number[]
writeDoubleArray(doubleArray: number[]): boolean
writeDoubleArray(doubleArray: number[]): boolean
**描述**
:
将双精度浮点数组写入MessageParcel实例。
将双精度浮点数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4778,8 +4516,6 @@ writeDoubleArray(doubleArray: number[]): boolean
...
@@ -4778,8 +4516,6 @@ writeDoubleArray(doubleArray: number[]): boolean
readDoubleArray(dataIn: number[]): void
readDoubleArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例中读取双精度浮点数组。
从MessageParcel实例中读取双精度浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4804,8 +4540,6 @@ readDoubleArray(dataIn: number[]): void
...
@@ -4804,8 +4540,6 @@ readDoubleArray(dataIn: number[]): void
readDoubleArray(): number[]
readDoubleArray(): number[]
**描述**
:
从MessageParcel实例读取双精度浮点数组。
从MessageParcel实例读取双精度浮点数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4830,8 +4564,6 @@ readDoubleArray(): number[]
...
@@ -4830,8 +4564,6 @@ readDoubleArray(): number[]
writeBooleanArray(booleanArray: boolean[]): boolean
writeBooleanArray(booleanArray: boolean[]): boolean
**描述**
:
将布尔数组写入MessageParcel实例。
将布尔数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4860,8 +4592,6 @@ writeBooleanArray(booleanArray: boolean[]): boolean
...
@@ -4860,8 +4592,6 @@ writeBooleanArray(booleanArray: boolean[]): boolean
readBooleanArray(dataIn: boolean[]): void
readBooleanArray(dataIn: boolean[]): void
**描述**
:
从MessageParcel实例中读取布尔数组。
从MessageParcel实例中读取布尔数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4886,8 +4616,6 @@ readBooleanArray(dataIn: boolean[]): void
...
@@ -4886,8 +4616,6 @@ readBooleanArray(dataIn: boolean[]): void
readBooleanArray(): boolean[]
readBooleanArray(): boolean[]
**描述**
:
从MessageParcel实例中读取布尔数组。
从MessageParcel实例中读取布尔数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4912,8 +4640,6 @@ readBooleanArray(): boolean[]
...
@@ -4912,8 +4640,6 @@ readBooleanArray(): boolean[]
writeCharArray(charArray: number[]): boolean
writeCharArray(charArray: number[]): boolean
**描述**
:
将单个字符数组写入MessageParcel实例。
将单个字符数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4942,8 +4668,6 @@ writeCharArray(charArray: number[]): boolean
...
@@ -4942,8 +4668,6 @@ writeCharArray(charArray: number[]): boolean
readCharArray(dataIn: number[]): void
readCharArray(dataIn: number[]): void
**描述**
:
从MessageParcel实例中读取单个字符数组。
从MessageParcel实例中读取单个字符数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4968,8 +4692,6 @@ readCharArray(dataIn: number[]): void
...
@@ -4968,8 +4692,6 @@ readCharArray(dataIn: number[]): void
readCharArray(): number[]
readCharArray(): number[]
**描述**
:
从MessageParcel实例读取单个字符数组。
从MessageParcel实例读取单个字符数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -4994,8 +4716,6 @@ readCharArray(): number[]
...
@@ -4994,8 +4716,6 @@ readCharArray(): number[]
writeStringArray(stringArray: string[]): boolean
writeStringArray(stringArray: string[]): boolean
**描述**
:
将字符串数组写入MessageParcel实例。
将字符串数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5024,8 +4744,6 @@ writeStringArray(stringArray: string[]): boolean
...
@@ -5024,8 +4744,6 @@ writeStringArray(stringArray: string[]): boolean
readStringArray(dataIn: string[]): void
readStringArray(dataIn: string[]): void
**描述**
:
从MessageParcel实例读取字符串数组。
从MessageParcel实例读取字符串数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5050,8 +4768,6 @@ readStringArray(dataIn: string[]): void
...
@@ -5050,8 +4768,6 @@ readStringArray(dataIn: string[]): void
readStringArray(): string[]
readStringArray(): string[]
**描述**
:
从MessageParcel实例读取字符串数组。
从MessageParcel实例读取字符串数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5076,8 +4792,6 @@ readStringArray(): string[]
...
@@ -5076,8 +4792,6 @@ readStringArray(): string[]
writeNoException(): void
writeNoException(): void
**描述**
:
向MessageParcel写入“指示未发生异常”的信息。
向MessageParcel写入“指示未发生异常”的信息。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5120,8 +4834,6 @@ writeNoException(): void
...
@@ -5120,8 +4834,6 @@ writeNoException(): void
readException(): void
readException(): void
**描述**
:
从MessageParcel中读取异常。
从MessageParcel中读取异常。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5176,8 +4888,6 @@ readException(): void
...
@@ -5176,8 +4888,6 @@ readException(): void
writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean
writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean
**描述**
:
将可序列化对象数组写入MessageParcel实例。
将可序列化对象数组写入MessageParcel实例。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5228,8 +4938,6 @@ writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean
...
@@ -5228,8 +4938,6 @@ writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean
readSequenceableArray(sequenceableArray: Sequenceable[]): void
readSequenceableArray(sequenceableArray: Sequenceable[]): void
**描述**
:
从MessageParcel实例读取可序列化对象数组。
从MessageParcel实例读取可序列化对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5276,8 +4984,6 @@ readSequenceableArray(sequenceableArray: Sequenceable[]): void
...
@@ -5276,8 +4984,6 @@ readSequenceableArray(sequenceableArray: Sequenceable[]): void
writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean
writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean
**描述**
:
将IRemoteObject对象数组写入MessageParcel。
将IRemoteObject对象数组写入MessageParcel。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5330,8 +5036,6 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean
...
@@ -5330,8 +5036,6 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean
readRemoteObjectArray(objects: IRemoteObject[]): void
readRemoteObjectArray(objects: IRemoteObject[]): void
**描述**
:
从MessageParcel读取IRemoteObject对象数组。
从MessageParcel读取IRemoteObject对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5379,8 +5083,6 @@ readRemoteObjectArray(objects: IRemoteObject[]): void
...
@@ -5379,8 +5083,6 @@ readRemoteObjectArray(objects: IRemoteObject[]): void
readRemoteObjectArray(): IRemoteObject[]
readRemoteObjectArray(): IRemoteObject[]
**描述**
:
从MessageParcel读取IRemoteObject对象数组。
从MessageParcel读取IRemoteObject对象数组。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5429,8 +5131,6 @@ readRemoteObjectArray(): IRemoteObject[]
...
@@ -5429,8 +5131,6 @@ readRemoteObjectArray(): IRemoteObject[]
static closeFileDescriptor(fd: number): void
static closeFileDescriptor(fd: number): void
**描述**
:
静态方法,关闭给定的文件描述符。
静态方法,关闭给定的文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5454,8 +5154,6 @@ static closeFileDescriptor(fd: number): void
...
@@ -5454,8 +5154,6 @@ static closeFileDescriptor(fd: number): void
static dupFileDescriptor(fd: number) :number
static dupFileDescriptor(fd: number) :number
**描述**
:
静态方法,复制给定的文件描述符。
静态方法,复制给定的文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5485,8 +5183,6 @@ static dupFileDescriptor(fd: number) :number
...
@@ -5485,8 +5183,6 @@ static dupFileDescriptor(fd: number) :number
containFileDescriptors(): boolean
containFileDescriptors(): boolean
**描述**
:
检查此MessageParcel对象是否包含文件描述符。
检查此MessageParcel对象是否包含文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5515,8 +5211,6 @@ containFileDescriptors(): boolean
...
@@ -5515,8 +5211,6 @@ containFileDescriptors(): boolean
writeFileDescriptor(fd: number): boolean
writeFileDescriptor(fd: number): boolean
**描述**
:
写入文件描述符到MessageParcel。
写入文件描述符到MessageParcel。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5548,8 +5242,6 @@ writeFileDescriptor(fd: number): boolean
...
@@ -5548,8 +5242,6 @@ writeFileDescriptor(fd: number): boolean
readFileDescriptor(): number
readFileDescriptor(): number
**描述**
:
从MessageParcel中读取文件描述符。
从MessageParcel中读取文件描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5576,8 +5268,6 @@ readFileDescriptor(): number
...
@@ -5576,8 +5268,6 @@ readFileDescriptor(): number
writeAshmem(ashmem: Ashmem): boolean
writeAshmem(ashmem: Ashmem): boolean
**描述**
:
将指定的匿名共享对象写入此MessageParcel。
将指定的匿名共享对象写入此MessageParcel。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5607,8 +5297,6 @@ writeAshmem(ashmem: Ashmem): boolean
...
@@ -5607,8 +5297,6 @@ writeAshmem(ashmem: Ashmem): boolean
readAshmem(): Ashmem
readAshmem(): Ashmem
**描述**
:
从MessageParcel读取匿名共享对象。
从MessageParcel读取匿名共享对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5634,8 +5322,6 @@ readAshmem(): Ashmem
...
@@ -5634,8 +5322,6 @@ readAshmem(): Ashmem
getRawDataCapacity(): number
getRawDataCapacity(): number
**描述**
:
获取MessageParcel可以容纳的最大原始数据量。
获取MessageParcel可以容纳的最大原始数据量。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5658,8 +5344,6 @@ getRawDataCapacity(): number
...
@@ -5658,8 +5344,6 @@ getRawDataCapacity(): number
writeRawData(rawData: number[], size: number): boolean
writeRawData(rawData: number[], size: number): boolean
**描述**
:
将原始数据写入MessageParcel对象。
将原始数据写入MessageParcel对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5690,8 +5374,6 @@ writeRawData(rawData: number[], size: number): boolean
...
@@ -5690,8 +5374,6 @@ writeRawData(rawData: number[], size: number): boolean
readRawData(size: number): number[]
readRawData(size: number): number[]
**描述**
:
从MessageParcel读取原始数据。
从MessageParcel读取原始数据。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5727,8 +5409,6 @@ readRawData(size: number): number[]
...
@@ -5727,8 +5409,6 @@ readRawData(size: number): number[]
marshalling(dataOut: MessageSequence): boolean
marshalling(dataOut: MessageSequence): boolean
**描述**
:
将此可序列对象封送到MessageSequence中。
将此可序列对象封送到MessageSequence中。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5778,8 +5458,6 @@ marshalling(dataOut: MessageSequence): boolean
...
@@ -5778,8 +5458,6 @@ marshalling(dataOut: MessageSequence): boolean
unmarshalling(dataIn: MessageSequence): boolean
unmarshalling(dataIn: MessageSequence): boolean
**描述**
:
从MessageSequence中解封此可序列对象。
从MessageSequence中解封此可序列对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5836,8 +5514,6 @@ unmarshalling(dataIn: MessageSequence): boolean
...
@@ -5836,8 +5514,6 @@ unmarshalling(dataIn: MessageSequence): boolean
marshalling(dataOut: MessageParcel): boolean
marshalling(dataOut: MessageParcel): boolean
**描述**
:
将此可序列对象封送到MessageParcel中。
将此可序列对象封送到MessageParcel中。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5887,8 +5563,6 @@ marshalling(dataOut: MessageParcel): boolean
...
@@ -5887,8 +5563,6 @@ marshalling(dataOut: MessageParcel): boolean
unmarshalling(dataIn: MessageParcel): boolean
unmarshalling(dataIn: MessageParcel): boolean
**描述**
:
从MessageParcel中解封此可序列对象。
从MessageParcel中解封此可序列对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -5943,8 +5617,6 @@ unmarshalling(dataIn: MessageParcel): boolean
...
@@ -5943,8 +5617,6 @@ unmarshalling(dataIn: MessageParcel): boolean
asObject(): IRemoteObject
asObject(): IRemoteObject
**描述**
:
需派生类实现,获取代理或远端对象。
需派生类实现,获取代理或远端对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6010,8 +5682,6 @@ asObject(): IRemoteObject
...
@@ -6010,8 +5682,6 @@ asObject(): IRemoteObject
onRemoteDied(): void
onRemoteDied(): void
**描述**
:
在成功添加死亡通知订阅后,当远端对象死亡时,将自动调用本方法。
在成功添加死亡通知订阅后,当远端对象死亡时,将自动调用本方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6062,8 +5732,6 @@ onRemoteDied(): void
...
@@ -6062,8 +5732,6 @@ onRemoteDied(): void
getLocalInterface(descriptor: string): IRemoteBroker
getLocalInterface(descriptor: string): IRemoteBroker
**描述**
:
查询接口描述符的字符串。
查询接口描述符的字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6086,8 +5754,6 @@ getLocalInterface(descriptor: string): IRemoteBroker
...
@@ -6086,8 +5754,6 @@ getLocalInterface(descriptor: string): IRemoteBroker
queryLocalInterface(descriptor: string): IRemoteBroker
queryLocalInterface(descriptor: string): IRemoteBroker
**描述**
:
查询接口描述符的字符串。
查询接口描述符的字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6110,8 +5776,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker
...
@@ -6110,8 +5776,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6162,8 +5826,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -6162,8 +5826,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6188,8 +5850,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -6188,8 +5850,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6210,8 +5870,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -6210,8 +5870,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6230,8 +5888,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -6230,8 +5888,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
registerDeathRecipient(recipient: DeathRecipient, flags: number): void
registerDeathRecipient(recipient: DeathRecipient, flags: number): void
**描述**
:
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6257,8 +5913,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void
...
@@ -6257,8 +5913,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void
addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
**描述**
:
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6281,8 +5935,6 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
...
@@ -6281,8 +5935,6 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void
unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void
**描述**
:
注销用于接收远程对象死亡通知的回调。
注销用于接收远程对象死亡通知的回调。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6308,8 +5960,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void
...
@@ -6308,8 +5960,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void
removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
**描述**
:
注销用于接收远程对象死亡通知的回调。
注销用于接收远程对象死亡通知的回调。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6331,8 +5981,6 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
...
@@ -6331,8 +5981,6 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
getDescriptor(): string
getDescriptor(): string
**描述**
:
获取对象的接口描述符,接口描述符为字符串。
获取对象的接口描述符,接口描述符为字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6358,8 +6006,6 @@ getDescriptor(): string
...
@@ -6358,8 +6006,6 @@ getDescriptor(): string
getInterfaceDescriptor(): string
getInterfaceDescriptor(): string
**描述**
:
获取对象的接口描述符,接口描述符为字符串。
获取对象的接口描述符,接口描述符为字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6406,8 +6052,6 @@ isObjectDead(): boolean
...
@@ -6406,8 +6052,6 @@ isObjectDead(): boolean
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6471,8 +6115,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -6471,8 +6115,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6544,8 +6186,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -6544,8 +6186,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise
<
SendRequestResult
>
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise
<
SendRequestResult
>
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6615,8 +6255,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -6615,8 +6255,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendMessageRequest返回后的某个时机执行回调,回复内容在RequestResult的reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendMessageRequest返回后的某个时机执行回调,回复内容在RequestResult的reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6685,8 +6323,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -6685,8 +6323,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6748,8 +6384,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -6748,8 +6384,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
getLocalInterface(interface: string): IRemoteBroker
getLocalInterface(interface: string): IRemoteBroker
**描述**
:
查询并获取当前接口描述符对应的本地接口对象。
查询并获取当前接口描述符对应的本地接口对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6811,8 +6445,6 @@ getLocalInterface(interface: string): IRemoteBroker
...
@@ -6811,8 +6445,6 @@ getLocalInterface(interface: string): IRemoteBroker
queryLocalInterface(interface: string): IRemoteBroker
queryLocalInterface(interface: string): IRemoteBroker
**描述**
:
查询并获取当前接口描述符对应的本地接口对象。
查询并获取当前接口描述符对应的本地接口对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6859,8 +6491,6 @@ queryLocalInterface(interface: string): IRemoteBroker
...
@@ -6859,8 +6491,6 @@ queryLocalInterface(interface: string): IRemoteBroker
registerDeathRecipient(recipient: DeathRecipient, flags: number): void
registerDeathRecipient(recipient: DeathRecipient, flags: number): void
**描述**
:
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
注册用于接收远程对象死亡通知的回调。如果与RemoteProxy对象匹配的远程对象进程死亡,则调用此方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6922,8 +6552,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void
...
@@ -6922,8 +6552,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void
addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
**描述**
:
注册用于接收远程对象死亡通知的回调,增加proxy对象上的死亡通知。
注册用于接收远程对象死亡通知的回调,增加proxy对象上的死亡通知。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -6976,8 +6604,6 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
...
@@ -6976,8 +6604,6 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean
unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean
unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean
**描述**
:
注销用于接收远程对象死亡通知的回调。
注销用于接收远程对象死亡通知的回调。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7040,8 +6666,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean
...
@@ -7040,8 +6666,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean
removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
**描述**
:
注销用于接收远程对象死亡通知的回调。
注销用于接收远程对象死亡通知的回调。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7095,8 +6719,6 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
...
@@ -7095,8 +6719,6 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean
getDescriptor(): string
getDescriptor(): string
**描述**
:
获取对象的接口描述符,接口描述符为字符串。
获取对象的接口描述符,接口描述符为字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7153,8 +6775,6 @@ getDescriptor(): string
...
@@ -7153,8 +6775,6 @@ getDescriptor(): string
getInterfaceDescriptor(): string
getInterfaceDescriptor(): string
**描述**
:
查询当前代理对象接口的描述符。
查询当前代理对象接口的描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7195,8 +6815,6 @@ getInterfaceDescriptor(): string
...
@@ -7195,8 +6815,6 @@ getInterfaceDescriptor(): string
isObjectDead(): boolean
isObjectDead(): boolean
**描述**
:
指示对应的RemoteObject是否死亡。
指示对应的RemoteObject是否死亡。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7251,8 +6869,6 @@ isObjectDead(): boolean
...
@@ -7251,8 +6869,6 @@ isObjectDead(): boolean
constructor(async?: boolean);
constructor(async?: boolean);
**描述**
:
MessageOption构造函数。
MessageOption构造函数。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7278,8 +6894,6 @@ MessageOption构造函数。
...
@@ -7278,8 +6894,6 @@ MessageOption构造函数。
constructor(syncFlags?: number, waitTime?: number)
constructor(syncFlags?: number, waitTime?: number)
**描述**
:
MessageOption构造函数。
MessageOption构造函数。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7304,8 +6918,6 @@ MessageOption构造函数。
...
@@ -7304,8 +6918,6 @@ MessageOption构造函数。
isAsync(): boolean;
isAsync(): boolean;
**描述**
:
获取SendMessageRequest调用中确定同步或是异步的标志。
获取SendMessageRequest调用中确定同步或是异步的标志。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7327,8 +6939,6 @@ isAsync(): boolean;
...
@@ -7327,8 +6939,6 @@ isAsync(): boolean;
setAsync(async: boolean): void;
setAsync(async: boolean): void;
**描述**
:
设置SendMessageRequest调用中确定同步或是异步的标志。
设置SendMessageRequest调用中确定同步或是异步的标志。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7345,8 +6955,6 @@ setAsync(async: boolean): void;
...
@@ -7345,8 +6955,6 @@ setAsync(async: boolean): void;
getFlags(): number
getFlags(): number
**描述**
:
获取同步调用或异步调用标志。
获取同步调用或异步调用标志。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7378,8 +6986,6 @@ getFlags(): number
...
@@ -7378,8 +6986,6 @@ getFlags(): number
setFlags(flags: number): void
setFlags(flags: number): void
**描述**
:
设置同步调用或异步调用标志。
设置同步调用或异步调用标志。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7437,8 +7043,6 @@ getWaitTime(): number
...
@@ -7437,8 +7043,6 @@ getWaitTime(): number
setWaitTime(waitTime: number): void
setWaitTime(waitTime: number): void
**描述**
:
设置rpc调用最长等待时间。
设置rpc调用最长等待时间。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7470,8 +7074,6 @@ setWaitTime(waitTime: number): void
...
@@ -7470,8 +7074,6 @@ setWaitTime(waitTime: number): void
static getContextObject(): IRemoteObject
static getContextObject(): IRemoteObject
**描述**
:
静态方法,获取系统能力的管理者。
静态方法,获取系统能力的管理者。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7493,8 +7095,6 @@ static getContextObject(): IRemoteObject
...
@@ -7493,8 +7095,6 @@ static getContextObject(): IRemoteObject
static getCallingPid(): number
static getCallingPid(): number
**描述**
:
静态方法,获取调用者的PID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的PID。
静态方法,获取调用者的PID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的PID。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7521,8 +7121,6 @@ static getCallingPid(): number
...
@@ -7521,8 +7121,6 @@ static getCallingPid(): number
static getCallingUid(): number
static getCallingUid(): number
**描述**
:
静态方法,获取调用者的UID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的UID。
静态方法,获取调用者的UID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的UID。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7549,8 +7147,6 @@ static getCallingUid(): number
...
@@ -7549,8 +7147,6 @@ static getCallingUid(): number
static getCallingTokenId(): number;
static getCallingTokenId(): number;
**描述**
:
静态方法,获取调用者的TokenId,用于被调用方对调用方的身份校验。
静态方法,获取调用者的TokenId,用于被调用方对调用方的身份校验。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7578,8 +7174,6 @@ static getCallingTokenId(): number;
...
@@ -7578,8 +7174,6 @@ static getCallingTokenId(): number;
static getCallingDeviceID(): string
static getCallingDeviceID(): string
**描述**
:
静态方法,获取调用者进程所在的设备ID。
静态方法,获取调用者进程所在的设备ID。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7606,8 +7200,6 @@ static getCallingDeviceID(): string
...
@@ -7606,8 +7200,6 @@ static getCallingDeviceID(): string
static getLocalDeviceID(): string
static getLocalDeviceID(): string
**描述**
:
静态方法,获取本端设备ID。
静态方法,获取本端设备ID。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7634,8 +7226,6 @@ static getLocalDeviceID(): string
...
@@ -7634,8 +7226,6 @@ static getLocalDeviceID(): string
static isLocalCalling(): boolean
static isLocalCalling(): boolean
**描述**
:
静态方法,检查当前通信对端是否是本设备的进程。
静态方法,检查当前通信对端是否是本设备的进程。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7662,8 +7252,6 @@ static isLocalCalling(): boolean
...
@@ -7662,8 +7252,6 @@ static isLocalCalling(): boolean
static flushCmdBuffer(object: IRemoteObject): void
static flushCmdBuffer(object: IRemoteObject): void
**描述**
:
静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。
静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7698,8 +7286,6 @@ static flushCmdBuffer(object: IRemoteObject): void
...
@@ -7698,8 +7286,6 @@ static flushCmdBuffer(object: IRemoteObject): void
static flushCommands(object: IRemoteObject): number
static flushCommands(object: IRemoteObject): number
**描述**
:
静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。
静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7747,8 +7333,6 @@ static flushCommands(object: IRemoteObject): number
...
@@ -7747,8 +7333,6 @@ static flushCommands(object: IRemoteObject): number
static resetCallingIdentity(): string
static resetCallingIdentity(): string
**描述**
:
静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。
静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7776,8 +7360,6 @@ static resetCallingIdentity(): string
...
@@ -7776,8 +7360,6 @@ static resetCallingIdentity(): string
static restoreCallingIdentity(identity: string): void
static restoreCallingIdentity(identity: string): void
**描述**
:
静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。
静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7811,8 +7393,6 @@ static restoreCallingIdentity(identity: string): void
...
@@ -7811,8 +7393,6 @@ static restoreCallingIdentity(identity: string): void
static setCallingIdentity(identity: string): boolean
static setCallingIdentity(identity: string): boolean
**描述**
:
静态方法,将UID和PID恢复为远程用户的UID和PID。它通常在使用resetCallingIdentity后调用,需要resetCallingIdentity返回的远程用户的UID和PID。
静态方法,将UID和PID恢复为远程用户的UID和PID。它通常在使用resetCallingIdentity后调用,需要resetCallingIdentity返回的远程用户的UID和PID。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7855,8 +7435,6 @@ static setCallingIdentity(identity: string): boolean
...
@@ -7855,8 +7435,6 @@ static setCallingIdentity(identity: string): boolean
constructor(descriptor: string)
constructor(descriptor: string)
**描述**
:
RemoteObject构造函数。
RemoteObject构造函数。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -7940,8 +7518,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -7940,8 +7518,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise
<
SendRequestResult
>
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise
<
SendRequestResult
>
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8012,8 +7588,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -8012,8 +7588,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise
<
RequestResult
>
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则期约立即兑现,reply报文里没有内容。如果为选项设置了同步模式,则期约将在sendMessageRequest返回时兑现,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8070,8 +7644,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -8070,8 +7644,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback
<
RequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendMessageRequest返回时收到回调,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageSequence消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendMessageRequest返回时收到回调,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8122,8 +7694,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
...
@@ -8122,8 +7694,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence,
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback
<
SendRequestResult
>
): void
**描述**
:
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
以同步或异步方式向对端进程发送MessageParcel消息。如果为选项设置了异步模式,则立即收到回调,reply报文里没有内容。如果为选项设置了同步模式,则将在sendRequest返回时收到回调,回复内容在reply报文里。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8188,8 +7758,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
...
@@ -8188,8 +7758,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me
onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean
**描述**
:
sendMessageRequest请求的响应处理函数,服务端在该函数里处理请求,回复结果。
sendMessageRequest请求的响应处理函数,服务端在该函数里处理请求,回复结果。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8382,8 +7950,6 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步
...
@@ -8382,8 +7950,6 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步
getCallingUid(): number
getCallingUid(): number
**描述**
:
获取通信对端的进程Uid。
获取通信对端的进程Uid。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8409,8 +7975,6 @@ getCallingUid(): number
...
@@ -8409,8 +7975,6 @@ getCallingUid(): number
getCallingPid(): number
getCallingPid(): number
**描述**
:
获取通信对端的进程Pid。
获取通信对端的进程Pid。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8437,8 +8001,6 @@ getCallingPid(): number
...
@@ -8437,8 +8001,6 @@ getCallingPid(): number
getLocalInterface(descriptor: string): IRemoteBroker
getLocalInterface(descriptor: string): IRemoteBroker
**描述**
:
查询接口描述符的字符串。
查询接口描述符的字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8489,8 +8051,6 @@ getLocalInterface(descriptor: string): IRemoteBroker
...
@@ -8489,8 +8051,6 @@ getLocalInterface(descriptor: string): IRemoteBroker
queryLocalInterface(descriptor: string): IRemoteBroker
queryLocalInterface(descriptor: string): IRemoteBroker
**描述**
:
查询并获取当前接口描述符对应的远端对象是否已经存在。
查询并获取当前接口描述符对应的远端对象是否已经存在。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8537,8 +8097,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker
...
@@ -8537,8 +8097,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker
getDescriptor(): string
getDescriptor(): string
**描述**
:
获取对象的接口描述符。接口描述符为字符串。
获取对象的接口描述符。接口描述符为字符串。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8591,8 +8149,6 @@ getDescriptor(): string
...
@@ -8591,8 +8149,6 @@ getDescriptor(): string
getInterfaceDescriptor(): string
getInterfaceDescriptor(): string
**描述**
:
查询接口描述符。
查询接口描述符。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8634,8 +8190,6 @@ getInterfaceDescriptor(): string
...
@@ -8634,8 +8190,6 @@ getInterfaceDescriptor(): string
modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
**描述**
:
此接口用于把接口描述符和IRemoteBroker对象绑定。
此接口用于把接口描述符和IRemoteBroker对象绑定。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8683,8 +8237,6 @@ modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
...
@@ -8683,8 +8237,6 @@ modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
**描述**
:
此接口用于把接口描述符和IRemoteBroker对象绑定。
此接口用于把接口描述符和IRemoteBroker对象绑定。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8744,8 +8296,6 @@ attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
...
@@ -8744,8 +8296,6 @@ attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
static create(name: string, size: number): Ashmem
static create(name: string, size: number): Ashmem
**描述**
:
静态方法,根据指定的名称和大小创建Ashmem对象。
静态方法,根据指定的名称和大小创建Ashmem对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8783,8 +8333,6 @@ static create(name: string, size: number): Ashmem
...
@@ -8783,8 +8333,6 @@ static create(name: string, size: number): Ashmem
static createAshmem(name: string, size: number): Ashmem
static createAshmem(name: string, size: number): Ashmem
**描述**
:
静态方法,根据指定的名称和大小创建Ashmem对象。
静态方法,根据指定的名称和大小创建Ashmem对象。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8814,8 +8362,6 @@ static createAshmem(name: string, size: number): Ashmem
...
@@ -8814,8 +8362,6 @@ static createAshmem(name: string, size: number): Ashmem
static create(ashmem: Ashmem): Ashmem
static create(ashmem: Ashmem): Ashmem
**描述**
:
静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。
静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8854,8 +8400,6 @@ static create(ashmem: Ashmem): Ashmem
...
@@ -8854,8 +8400,6 @@ static create(ashmem: Ashmem): Ashmem
static createAshmemFromExisting(ashmem: Ashmem): Ashmem
static createAshmemFromExisting(ashmem: Ashmem): Ashmem
**描述**
:
静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。
静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8885,8 +8429,6 @@ static createAshmemFromExisting(ashmem: Ashmem): Ashmem
...
@@ -8885,8 +8429,6 @@ static createAshmemFromExisting(ashmem: Ashmem): Ashmem
closeAshmem(): void
closeAshmem(): void
**描述**
:
关闭这个Ashmem。
关闭这个Ashmem。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8902,8 +8444,6 @@ closeAshmem(): void
...
@@ -8902,8 +8444,6 @@ closeAshmem(): void
unmapAshmem(): void
unmapAshmem(): void
**描述**
:
删除该Ashmem对象的地址映射。
删除该Ashmem对象的地址映射。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8919,8 +8459,6 @@ unmapAshmem(): void
...
@@ -8919,8 +8459,6 @@ unmapAshmem(): void
getAshmemSize(): number
getAshmemSize(): number
**描述**
:
获取Ashmem对象的内存大小。
获取Ashmem对象的内存大小。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8943,8 +8481,6 @@ getAshmemSize(): number
...
@@ -8943,8 +8481,6 @@ getAshmemSize(): number
mapTypedAshmem(mapType: number): void
mapTypedAshmem(mapType: number): void
**描述**
:
在此进程的虚拟地址空间上创建共享文件映射,映射区域大小由此Ashmem对象指定。
在此进程的虚拟地址空间上创建共享文件映射,映射区域大小由此Ashmem对象指定。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -8981,8 +8517,6 @@ mapTypedAshmem(mapType: number): void
...
@@ -8981,8 +8517,6 @@ mapTypedAshmem(mapType: number): void
mapAshmem(mapType: number): boolean
mapAshmem(mapType: number): boolean
**描述**
:
在此进程的虚拟地址空间上创建共享文件映射,映射区域大小由此Ashmem对象指定。
在此进程的虚拟地址空间上创建共享文件映射,映射区域大小由此Ashmem对象指定。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9011,8 +8545,6 @@ mapAshmem(mapType: number): boolean
...
@@ -9011,8 +8545,6 @@ mapAshmem(mapType: number): boolean
mapReadWriteAshmem(): void
mapReadWriteAshmem(): void
**描述**
:
在此进程虚拟地址空间上创建可读写的共享文件映射。
在此进程虚拟地址空间上创建可读写的共享文件映射。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9043,8 +8575,6 @@ mapReadWriteAshmem(): void
...
@@ -9043,8 +8575,6 @@ mapReadWriteAshmem(): void
mapReadAndWriteAshmem(): boolean
mapReadAndWriteAshmem(): boolean
**描述**
:
在此进程虚拟地址空间上创建可读写的共享文件映射。
在此进程虚拟地址空间上创建可读写的共享文件映射。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9067,8 +8597,6 @@ mapReadAndWriteAshmem(): boolean
...
@@ -9067,8 +8597,6 @@ mapReadAndWriteAshmem(): boolean
mapReadonlyAshmem(): void
mapReadonlyAshmem(): void
**描述**
:
在此进程虚拟地址空间上创建只读的共享文件映射。
在此进程虚拟地址空间上创建只读的共享文件映射。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9099,8 +8627,6 @@ mapReadonlyAshmem(): void
...
@@ -9099,8 +8627,6 @@ mapReadonlyAshmem(): void
mapReadOnlyAshmem(): boolean
mapReadOnlyAshmem(): boolean
**描述**
:
在此进程虚拟地址空间上创建只读的共享文件映射。
在此进程虚拟地址空间上创建只读的共享文件映射。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9123,8 +8649,6 @@ mapReadOnlyAshmem(): boolean
...
@@ -9123,8 +8649,6 @@ mapReadOnlyAshmem(): boolean
setProtectionType(protectionType: number): void
setProtectionType(protectionType: number): void
**描述**
:
设置映射内存区域的保护等级。
设置映射内存区域的保护等级。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9161,8 +8685,6 @@ setProtectionType(protectionType: number): void
...
@@ -9161,8 +8685,6 @@ setProtectionType(protectionType: number): void
setProtection(protectionType: number): boolean
setProtection(protectionType: number): boolean
**描述**
:
设置映射内存区域的保护等级。
设置映射内存区域的保护等级。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9191,8 +8713,6 @@ setProtection(protectionType: number): boolean
...
@@ -9191,8 +8713,6 @@ setProtection(protectionType: number): boolean
writeAshmem(buf: number[], size: number, offset: number): void
writeAshmem(buf: number[], size: number, offset: number): void
**描述**
:
将数据写入此Ashmem对象关联的共享文件。
将数据写入此Ashmem对象关联的共享文件。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9233,8 +8753,6 @@ writeAshmem(buf: number[], size: number, offset: number): void
...
@@ -9233,8 +8753,6 @@ writeAshmem(buf: number[], size: number, offset: number): void
writeToAshmem(buf: number[], size: number, offset: number): boolean
writeToAshmem(buf: number[], size: number, offset: number): boolean
**描述**
:
将数据写入此Ashmem对象关联的共享文件。
将数据写入此Ashmem对象关联的共享文件。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9268,8 +8786,6 @@ writeToAshmem(buf: number[], size: number, offset: number): boolean
...
@@ -9268,8 +8786,6 @@ writeToAshmem(buf: number[], size: number, offset: number): boolean
readAshmem(size: number, offset: number): number[]
readAshmem(size: number, offset: number): number[]
**描述**
:
从此Ashmem对象关联的共享文件中读取数据。
从此Ashmem对象关联的共享文件中读取数据。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
@@ -9317,8 +8833,6 @@ readAshmem(size: number, offset: number): number[]
...
@@ -9317,8 +8833,6 @@ readAshmem(size: number, offset: number): number[]
readFromAshmem(size: number, offset: number): number[]
readFromAshmem(size: number, offset: number): number[]
**描述**
:
从此Ashmem对象关联的共享文件中读取数据。
从此Ashmem对象关联的共享文件中读取数据。
**系统能力**
:SystemCapability.Communication.IPC.Core
**系统能力**
:SystemCapability.Communication.IPC.Core
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录