MCPcopy Create free account
hub / github.com/EasyIME/PIME / updateKeyboardStatus

Method updateKeyboardStatus

PIMETextService/PIMEClient.cpp:303–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void Client::updateKeyboardStatus(Json::Value& msg) {
304 const auto& openKeyboardVal = msg["openKeyboard"];
305 if (openKeyboardVal.isBool()) {
306 textService_->setKeyboardOpen(openKeyboardVal.asBool());
307 }
308}
309
310void Client::updateStatus(Json::Value& msg, Ime::EditSession* session) {
311 // We need to handle ordering of some types of the requests.

Callers

nothing calls this directly

Calls 1

setKeyboardOpenMethod · 0.80

Tested by

no test coverage detected