提交 58f6533e 编写于 作者: M mayunteng_1

多模子系统错误码md整改

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: Ib288f97d37f1b506ed7d54e3ce40e9fa8125f422
上级 053a4dc1
......@@ -13,7 +13,7 @@
import inputDeviceCooperate from '@ohos.multimodalInput.inputDeviceCooperate'
```
## inputDeviceCooperate.enable<sup>9+</sup>
## inputDeviceCooperate.enable
enable(enable: boolean, callback: AsyncCallback\<void>): void
......@@ -46,7 +46,7 @@ try {
}
```
## inputDeviceCooperate.enable<sup>9+</sup>
## inputDeviceCooperate.enable
enable(enable: boolean): Promise\<void>
......@@ -84,7 +84,7 @@ try {
}
```
## inputDeviceCooperate.start<sup>9+</sup>
## inputDeviceCooperate.start
start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback\<void>): void
......@@ -125,7 +125,7 @@ try {
}
```
## inputDeviceCooperate.start<sup>9+</sup>
## inputDeviceCooperate.start
start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise\<void>
......@@ -171,7 +171,7 @@ try {
}
```
## inputDeviceCooperate.stop<sup>9+</sup>
## inputDeviceCooperate.stop
stop(callback: AsyncCallback\<void>): void
......@@ -203,7 +203,7 @@ try {
}
```
## inputDeviceCooperate.stop<sup>9+</sup>
## inputDeviceCooperate.stop
stop(): Promise\<void>
......@@ -231,7 +231,7 @@ try {
}
```
## inputDeviceCooperate.getState<sup>9+</sup>
## inputDeviceCooperate.getState
getState(deviceDescriptor: string, callback: AsyncCallback<{ state: boolean }>): void
......@@ -262,7 +262,7 @@ try {
}
```
## inputDeviceCooperate.getState<sup>9+</sup>
## inputDeviceCooperate.getState
getState(deviceDescriptor: string): Promise<{ state: boolean }>
......@@ -300,7 +300,7 @@ try {
}
```
## on('cooperation')<sup>9+</sup>
## on('cooperation')
on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>): void
......@@ -333,7 +333,7 @@ try {
}
```
## off('cooperation')<sup>9+</sup>
## off('cooperation')
off(type: 'cooperation', callback?: AsyncCallback\<void>): void
......@@ -366,7 +366,7 @@ try {
}
```
## EventMsg<sup>9+</sup>
## EventMsg
键鼠穿越事件。
......
......@@ -12,9 +12,8 @@ Incorrect descriptor for the target device.
**可能原因**
1.穿越目标设备不存在(设备未组网)。
2.目标设备描述符为空。
1. 穿越目标设备不存在(设备未组网)。
2. 目标设备描述符为空。
**处理步骤**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册