[Service][VD] Add mde APIs to handle remote input 63/272163/2 submit/tizen/20220311.160022
authorDongHyun Song <dh81.song@samsung.com>
Thu, 10 Mar 2022 08:23:22 +0000 (17:23 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 10 Mar 2022 08:39:02 +0000 (08:39 +0000)
'updateRemoteInput' is an API to fill the input string at the IME
input field.

'selectRemoteInput' is an API to submit the string of IME form.

Change-Id: I2ff3f77d267e0e6e8e586485c8b590b78f96d241
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/service/device_api_router.ts

index 5f30ad0..afbd161 100644 (file)
@@ -99,6 +99,12 @@ export class DeviceAPIRouter {
         global.webapis.mde.initVirtualEventGenerator = (type: number) => {
           return mde.initVirtualEventGenerator(type);
         }
+        global.webapis.mde.updateRemoteInput = (inputString: string) => {
+          mde.updateRemoteInput(inputString);
+        }
+        global.webapis.mde.selectRemoteInput = () => {
+          mde.selectRemoteInput();
+        }
       }
       global.webapis.mde.getCurrentLoginId = () => {
         return mde.getCurrentLoginId();