Change-Id: Ie45df0f725fa5fe2b4888725bf8396ca0ee4f0e6
*/
int ime_set_dotnet_flag(bool set);
+/**
+ * @brief Set flag whether creating IME window should be defered until there is a access request
+ *
+ * @since_tizen 5.0
+ *
+ * @privilege %http://tizen.org/privilege/ime
+ *
+ * @param[in] flag true if deferring window creation is desired
+ * @return 0 on success, otherwise a negative error value
+ * @retval #IME_ERROR_NONE No error
+ * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ */
+int ime_set_window_creation_defer_flag(bool flag);
+
#ifdef __cplusplus
}
#endif
return IME_ERROR_NONE;
}
+
+EXPORT_API int ime_set_window_creation_defer_flag(bool flag)
+{
+ ime_error_e retVal = IME_ERROR_NONE;
+
+ retVal = _check_privilege();
+ if (retVal != IME_ERROR_NONE) return retVal;
+
+ g_core.set_window_creation_defer_flag(flag);
+
+ return IME_ERROR_NONE;
+}