harmony 鸿蒙UDMF Error Codes

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

UDMF Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

20400001 Settings Already Exist

Error Message

Settings already exist.

Description

The data to be set by setAppShareOptions() already exists.

Possible Causes

This error is reported when setAppShareOptions is called repeatedly to set ShareOptions of the drag-and-drop channel data.

Solution

Call removeAppShareOptions to clear the ShareOptions of the current drag-and-drop channel data, and then call setAppShareOptions to set ShareOptions.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkData (ArkData Management)

harmony 鸿蒙Data

harmony 鸿蒙OH_Cursor

harmony 鸿蒙OH_Predicates

harmony 鸿蒙OH_Rdb_Config

harmony 鸿蒙OH_Rdb_Store

harmony 鸿蒙OH_VBucket

harmony 鸿蒙OH_VObject

harmony 鸿蒙Preferences

harmony 鸿蒙_r_d_b

0  赞