• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 输入设备错误码
2
3<!--Kit: Input Kit-->
4<!--Subsystem: MultimodalInput-->
5<!--Owner: @zhaoxueyuan-->
6<!--Designer: @hanruofei-->
7<!--Tester: @Lyuxin-->
8<!--Adviser: @Brilliantry_Rui-->
9
10> **说明:**
11>
12> 以下仅介绍本模块特有错误码,通用错误码请参考[通用错误码说明文档](../errorcode-universal.md)。
13
14<!--Del-->
15## 3900001 指定的设备不存在
16
17**错误信息**
18
19The specified device does not exist.
20
21**错误描述**
22
23指定的设备在多模设备列表中不存在。
24
25**可能原因**
26
271. 输入设备的设备id变更。
282. 输入设备的物理连接断开。
29
30**处理步骤**
31
321. 通过[inputDevice.getDeviceList](js-apis-inputdevice.md#inputdevicegetdevicelist9)查询设备id,并传入正确的设备id。
332. 检查设备的物理连接是否断开。<!--DelEnd-->
34
35## 3900002 键盘设备没有连接
36
37**错误信息**
38
39There is currently no keyboard device connected.
40
41**错误描述**
42
43当前未检测到已连接的键盘设备。
44
45**可能原因**
46
47输入设备的物理连接断开。
48
49**处理步骤**
50
51检查设备的物理连接是否断开。
52
53## 3900003 非输入法应用调用
54
55**错误信息**
56
57It is prohibited for non-input applications.
58
59**错误描述**
60
61禁止非输入法应用调用此接口。
62
63**可能原因**
64
65非输入法应用调用此接口。
66
67**处理步骤**
68
69请使用输入法应用调用该接口。