harmony 鸿蒙oh_pasteboard_err_code.h

  • 2025-06-12
  • 浏览 (4)

oh_pasteboard_err_code.h

Overview

Defines the error code information of the pasteboard.

Library: libpasteboard.so

File to include:

System capability: SystemCapability.MiscServices.Pasteboard

Since: 13

Related module: Pasteboard

Summary

Types

Name Description
typedef enum PASTEBOARD_ErrCode PASTEBOARD_ErrCode Defines an enum for error codes.

Enums

Name Description
PASTEBOARD_ErrCode {
[ERR_OK] = 0, [ERR_PERMISSION_ERROR]) = 201, [ERR_INVALID_PARAMETER] = 401, [ERR_DEVICE_NOT_SUPPORTED] = 801,
[ERR_INNER_ERROR] = 12900000, [ERR_BUSY] = 12900003, [ERR_PASTEBOARD_COPY_FILE_ERROR] = 12900007, [ERR_PASTEBOARD_PROGRESS_START_ERROR] = 12900008, [ERR_PASTEBOARD_PROGRESS_ABNORMAL] = 12900009, [ERR_PASTEBOARD_GET_DATA_FAILED] = 12900010, [ERR_BUSY_PROCESSING] = 27787277, [ERR_COPY_FORBIDDEN] = 27787278
}
Enumerates the error codes.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Basic Services Kit

harmony 鸿蒙DeviceInfo

harmony 鸿蒙InitSync

harmony 鸿蒙OH_Print

harmony 鸿蒙OsAccount

harmony 鸿蒙Pasteboard

harmony 鸿蒙Print_Margin

harmony 鸿蒙Print_PageSize

harmony 鸿蒙Print_PrintAttributes

harmony 鸿蒙Print_PrintDocCallback

0  赞