mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-22 08:25:20 -04:00
add switch napi fuction
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
@@ -433,5 +433,14 @@ using namespace MessageID;
|
||||
mAgent->SetCallingWindow(windowId);
|
||||
return;
|
||||
}
|
||||
|
||||
int32_t InputMethodController::SwitchInputMethod(InputMethodProperty *target)
|
||||
{
|
||||
IMSA_HILOGI("InputMethodController::SwitchInputMethod");
|
||||
if (!mImms) {
|
||||
return false;
|
||||
}
|
||||
return mImms->SwitchInputMethod(target);
|
||||
}
|
||||
} // namespace MiscServices
|
||||
} // namespace OHOS
|
||||
|
||||
Reference in New Issue
Block a user