1# inputmethod_inputmethod_proxy_capi.h
2
3
4## Overview
5
6Provides methods for using the input method, allowing requests and notifications to be sent to the input method application.
7
8**Library**: libohinputmethod.so
9
10**System capability**: SystemCapability.MiscServices.InputMethodFramework
11
12**Since**: 12
13
14**Related module**: [InputMethod](_input_method.md)
15
16
17## Summary
18
19
20### Types
21
22| Name| Description|
23| -------- | -------- |
24| [InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) | Input method proxy object.|
25
26
27### Functions
28
29| Name| Description|
30| -------- | -------- |
31| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_ShowKeyboard](_input_method.md#oh_inputmethodproxy_showkeyboard) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy) | Displays the keyboard.|
32| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_HideKeyboard](_input_method.md#oh_inputmethodproxy_hidekeyboard) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy) | Hides the keyboard.|
33| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_NotifySelectionChange](_input_method.md#oh_inputmethodproxy_notifyselectionchange) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy, char16_t text[], size_t length, int start, int end) | Notifies the change of the text selection area in the text box.|
34| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_NotifyConfigurationChange](_input_method.md#oh_inputmethodproxy_notifyconfigurationchange) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy, [InputMethod_EnterKeyType](_input_method.md#inputmethod_enterkeytype) enterKey, [InputMethod_TextInputType](_input_method.md#inputmethod_textinputtype) textType) | Notifies the change of the text box configuration.|
35| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_NotifyCursorUpdate](_input_method.md#oh_inputmethodproxy_notifycursorupdate) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy, [InputMethod_CursorInfo](_input_method.md#inputmethod_cursorinfo) \*cursorInfo) | Notifies the cursor position change.|
36| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_InputMethodProxy_SendPrivateCommand](_input_method.md#oh_inputmethodproxy_sendprivatecommand) ([InputMethod_InputMethodProxy](_input_method.md#inputmethod_inputmethodproxy) \*inputMethodProxy, [InputMethod_PrivateCommand](_input_method.md#inputmethod_privatecommand) \*privateCommand[], size_t size) | Sends a private data command.|
37