openharmony 鸿蒙 capi-oh-device-manager-err-code-h

2025-06-12 浏览 (1)

oh_device_manager_err_code.h

Overview

Declares the error codes of the distributed device management module.

File to include: <distributedhardware/device_manager/oh_device_manager_err_code.h>

Library: libnative_devicemanager.so

System capability: SystemCapability.DistributedHardware.DeviceManager

Since: 20

Related module: DeviceManager

Summary

Enums

Nametypedef KeywordDescription
DeviceManager_ErrorCodeDeviceManager_ErrorCodeError 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

EnumDescription
ERR_OK = 0Operation success.
ERR_PERMISSION_ERROR = 201Permission verification failed.
ERR_INVALID_PARAMETER = 401Invalid parameter.
DM_ERR_FAILED = 11600101Function execution failed.
DM_ERR_OBTAIN_SERVICE = 11600102Failed to obtain the device management service.
DM_ERR_OBTAIN_BUNDLE_NAME = 11600109Failed 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)

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/4UBbxq