harmony 鸿蒙oh_device_manager_err_code.h

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

oh_device_manager_err_code.h

Overview

Declares the error codes of the distributed device management module.

File to include:

Library: libnative_devicemanager.so

System capability: SystemCapability.DistributedHardware.DeviceManager

Since: 20

Related module: DeviceManager

Summary

Enums

|Name|typedef Keyword|Description| |–|–|–| |DeviceManager_ErrorCode|DeviceManager_ErrorCode|Error code information of distributed device management module.|

Enum Description

DeviceManager_ErrorCode

enum DeviceManager_ErrorCode

Description

Error codes of the distributed device management module.

Since: 20

|Enum|Description| |–|–| |ERR_OK = 0|Operation success.| |ERR_PERMISSION_ERROR = 201|Permission verification failed.| |ERR_INVALID_PARAMETER = 401|Invalid parameter.| |DM_ERR_FAILED = 11600101|Function execution failed.| |DM_ERR_OBTAIN_SERVICE = 11600102|Failed to obtain the device management service.| |DM_ERR_OBTAIN_BUNDLE_NAME = 11600109|Failed to obtain the bundle name.|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Distributed Service Kit (Distributed Management Service)

harmony 鸿蒙DeviceManager

harmony 鸿蒙oh_device_manager.h

harmony 鸿蒙Device Management Error Codes

harmony 鸿蒙Screen Hopping Error Codes

harmony 鸿蒙Link Enhancement Error Codes

harmony 鸿蒙@ohos.distributedHardware.deviceManager (Device Management) (System API)

harmony 鸿蒙@ohos.cooperate (Screen Hopping) (System API)

harmony 鸿蒙@ohos.distributedsched.abilityConnectionManager (Cross-Device Connection Management) (System API)

harmony 鸿蒙@ohos.distributedsched.abilityConnectionManager (Cross-Device Connection Management)

0  赞