* The Smart Reply APIs provides functions to generate reply candidates for received message.\n
* This provides following functionalities.\n
* - Get candidate reply messages for a given received message sync/asynchronously
-* - Access & destory candidate reply list
+* - Access & destroy candidate reply list
* - Record user's replied message to update future candidate messages
* - Preload engine to reduce message generation time
*
int request_async(int type, int req_id, const char* subject, const char* input, void* ext, dbus_client_request_callback cb);
int request(int type, int req_id, const char* subject, const char* input, std::string* req_result, std::string* data_read);
int request_with_no_reply(int type, int req_id, const char* subject, const char* input);
- }; /* classs smr::dbus_client */
+ }; /* class smr::dbus_client */
} /* namespace smr */
std::string result_str;
int error = dbus_handle->request(REQ_IS_SUPPORTED, *req_id, language, NULL, &result_str, NULL);
_I("[is_supported():Client] Error: %#x", error);
- _SI("[is_supported(): Client IS_SURPPOTED] Result: %s", result_str.c_str());
+ _SI("[is_supported(): Client IS_SUPPORTED] Result: %s", result_str.c_str());
return error;
}
_SI("[is_loaded] ReqId: %d, Language: %s", *req_id, language);
std::string result_str;
int error = dbus_handle->request(REQ_IS_LOADED, *req_id, language, NULL, &result_str, NULL);
- _I("[is_loaded():Client IS_LOAEDED] Error: %#x", error);
+ _I("[is_loaded():Client IS_LOADED] Error: %#x", error);
_SI("[is_loaded():Client IS_LOADED] Result: %s", result_str.c_str());
return error;
}