harmony 鸿蒙Screen Hopping Error Codes (To Be Deprecated)

  • 2022-12-05
  • 浏览 (568)

Screen Hopping Error Codes (To Be Deprecated)

NOTE

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

4400001 Incorrect Target Device Descriptor

Error Message

Incorrect descriptor for the target device.

Description

This error code is reported if an invalid device descriptor is passed to the screen hopping API.

Possible Causes

  1. The target device does not exist, or the device is not networked.
  2. The target device descriptor is empty.

Solution

  1. Check whether the target device for screen hopping is correctly networked with the local device.
  2. Set the target device descriptor correctly.

4400002 Input Device Operation Failed

Error Message

Failed to operate the input device.

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.

Solution

  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 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞