You need to sign in or sign up before continuing.
未验证 提交 0412b138 编写于 作者: Z zzs110 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-pasteboard.md.

Signed-off-by: Nzzs110 <zhouzishuai@huawei.com>
上级 433e66ac
...@@ -483,19 +483,12 @@ record.convertToText().then((data) => { ...@@ -483,19 +483,12 @@ record.convertToText().then((data) => {
## PasteData ## PasteData
剪贴板内容对象。 剪贴板内容对象。剪贴板内容包含一个或者多个内容条目([PasteDataRecord](#pastedatarecord7))以及属性描述对象([PasteDataProperty](#pastedataproperty7))。
在调用PasteData的接口前,需要先获取一个PasteData对象。 在调用PasteData的接口前,需要先获取一个PasteData对象。
### 属性
**系统能力:** SystemCapability.MiscServices.Pasteboard **系统能力:** SystemCapability.MiscServices.Pasteboard
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- |-----| -------- |
| pasteDataProperty<sup>7+</sup> | [PasteDataProperty](#pastedataproperty7) | 是 | 是 | 剪贴板数据的属性数据。 |
| records<sup>7+</sup> | std::vector&lt;[PasteDataRecord](#pastedatarecord7)&gt; | 是 | 是 | 剪贴板内容条目的数据。 |
### getPrimaryText ### getPrimaryText
getPrimaryText(): string getPrimaryText(): string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册