From 88acf2d20a5a9d26eb8bb90b8ee2645752b4ac99 Mon Sep 17 00:00:00 2001 From: cuile4 Date: Tue, 12 Nov 2024 11:37:38 +0800 Subject: [PATCH] modify OH_Pasteboard_GetData docs Signed-off-by: cuile4 --- distributeddatamgr/pasteboard/include/oh_pasteboard.h | 1 + 1 file changed, 1 insertion(+) diff --git a/distributeddatamgr/pasteboard/include/oh_pasteboard.h b/distributeddatamgr/pasteboard/include/oh_pasteboard.h index 15d489623..8207845db 100644 --- a/distributeddatamgr/pasteboard/include/oh_pasteboard.h +++ b/distributeddatamgr/pasteboard/include/oh_pasteboard.h @@ -235,6 +235,7 @@ bool OH_Pasteboard_HasData(OH_Pasteboard* pasteboard); /** * @brief Obtains data from the Pasteboard. * + * @permission ohos.permission.READ_PASTEBOARD * @param pasteboard Pointer to the {@link OH_Pasteboard} instance. * @param status The status code of the execution. For details, see {@link PASTEBOARD_ErrCode}. * @return Returns the pointer to the {@link OH_UdmfData} instance. -- Gitee