update api/@ohos.pasteboard.d.ts.

Signed-off-by: zzs110 <zhouzishuai@huawei.com>
This commit is contained in:
zzs110 2023-10-12 01:36:43 +00:00 committed by Gitee
parent 0f137cb643
commit 72de1bfe5a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -20,6 +20,7 @@ import image from './@ohos.multimedia.image';
* systemPasteboard
* @namespace pasteboard
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
declare namespace pasteboard {
/**
@ -222,6 +223,7 @@ declare namespace pasteboard {
* Paste data property.
* @interface PasteDataProperty
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
interface PasteDataProperty {
/**
@ -277,6 +279,7 @@ declare namespace pasteboard {
* Paste data record.
* @interface PasteDataRecord
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
interface PasteDataRecord {
/**
@ -364,6 +367,7 @@ declare namespace pasteboard {
* Classes for paste data.
* @interface PasteData
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
interface PasteData {
/**
@ -451,7 +455,7 @@ declare namespace pasteboard {
/**
* the want of the primary record in a PasteData object.
* @returns { want } type of want
* @returns { Want } type of want
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
@ -614,6 +618,7 @@ declare namespace pasteboard {
* Classes for system pasteboard.
* @interface SystemPasteboard
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 7
*/
interface SystemPasteboard {
/**
@ -848,7 +853,7 @@ declare namespace pasteboard {
* Writes PasteData to the system pasteboard.
* @param { PasteData } data - PasteData will be written to the clipboard.
* @syscap SystemCapability.MiscServices.Pasteboard
* @since 9
* @since 11
*/
setDataSync(data: PasteData): void;
}