1# inputmethod_attach_options_capi.h 2 3 4## Overview 5 6Provides methods for creating, destroying, reading, and writing the option object bound to the input method. 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_AttachOptions](_input_method.md#inputmethod_attachoptions) | Options for binding the input method.| 25 26 27### Functions 28 29| Name| Description| 30| -------- | -------- | 31| [InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions) \* [OH_AttachOptions_Create](_input_method.md#oh_attachoptions_create) (bool showKeyboard) | Creates an [InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions) instance.| 32| void [OH_AttachOptions_Destroy](_input_method.md#oh_attachoptions_destroy) ([InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions) \*options) | Destroys an [InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions) instance.| 33| [InputMethod_ErrorCode](_input_method.md#inputmethod_errorcode) [OH_AttachOptions_IsShowKeyboard](_input_method.md#oh_attachoptions_isshowkeyboard) ([InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions) \*options, bool \*showKeyboard) | Obtains the configured value that indicates whether to display the keyboard from [InputMethod_AttachOptions](_input_method.md#inputmethod_attachoptions).| 34