harmony 鸿蒙Screen Hopping Error Codes

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

Screen Hopping Error Codes

NOTE

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

20900001 Input Device Operation Failed

Error Message

Service exception. Possible causes: 1. A system error, such as null pointer, container-related exception, or IPC exception. 2. N-API invocation exception or invalid N-API status.

Description

This error code is reported if the screen hopping status is abnormal when the screen hopping API is called.

Possible Causes

  1. When screen hopping is initiated, the local device is in the hopped state.
  2. When screen hopping is disabled, the local device is in the free state.
  3. When screen hopping is disabled, the local device is in the hopping state.
  4. A system error (for example, null pointer, container exception, or IPC exception) has occurred.
  5. The native API call is abnormal, or the native API status is invalid.

Procedure

  1. When initiating screen hopping, make sure that the local device is not in the hopped state.
  2. When disabling screen hopping, make sure that the local device is not in the free state.
  3. When disabling screen hopping, make sure that the local device is not in the hopping state.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Distributed Service Kit (Distributed Management Service)

harmony 鸿蒙DeviceManager

harmony 鸿蒙oh_device_manager_err_code.h

harmony 鸿蒙oh_device_manager.h

harmony 鸿蒙Device Management 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  赞