提交 cd116ad3 编写于 作者: S shawn_he

updatedocs

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 a75d4300
...@@ -181,7 +181,7 @@ inputDevice.getDevice(1).then((inputDevice)=>{ ...@@ -181,7 +181,7 @@ inputDevice.getDevice(1).then((inputDevice)=>{
supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;, callback: Callback&lt;Array&lt;boolean&gt;&gt;): void; supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;, callback: Callback&lt;Array&lt;boolean&gt;&gt;): void;
Obtains information about an input device. This API uses an asynchronous callback to return the result. Checks whether an input device supports the specified key codes. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.InputDevice **System capability**: SystemCapability.MultimodalInput.Input.InputDevice
...@@ -206,7 +206,7 @@ inputDevice.supportKeys(1, [17, 22, 2055], (ret)=>{ ...@@ -206,7 +206,7 @@ inputDevice.supportKeys(1, [17, 22, 2055], (ret)=>{
supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;): Promise&lt;Array&lt;boolean&gt;&gt;; supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;): Promise&lt;Array&lt;boolean&gt;&gt;;
Obtains information about an input device. This API uses a promise to return the result. Checks whether an input device supports the specified key codes. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.InputDevice **System capability**: SystemCapability.MultimodalInput.Input.InputDevice
...@@ -260,7 +260,7 @@ inputDevice.getKeyboardType(1, (ret)=>{ ...@@ -260,7 +260,7 @@ inputDevice.getKeyboardType(1, (ret)=>{
getKeyboardType(deviceId: number,): Promise&lt;KeyboardType&gt;; getKeyboardType(deviceId: number,): Promise&lt;KeyboardType&gt;;
Query the keyboard type of an input device. This API uses a promise to return the result. Obtains the keyboard type of an input device. This API uses a promise to return the result.
**System capability**: SystemCapability.MultimodalInput.Input.InputDevice **System capability**: SystemCapability.MultimodalInput.Input.InputDevice
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册