mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
update api/@ohos.pasteboard.d.ts.
Signed-off-by: zzs110 <zhouzishuai@huawei.com>
This commit is contained in:
parent
0f137cb643
commit
72de1bfe5a
9
api/@ohos.pasteboard.d.ts
vendored
9
api/@ohos.pasteboard.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user