diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index cf74dbea5..36748f499 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -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; }