Skip to main content

OH_InputMethodProxy_NotifyConfigurationChange

Function OH_InputMethodProxy_NotifyConfigurationChange 

Source
pub unsafe extern "C" fn OH_InputMethodProxy_NotifyConfigurationChange(
    inputMethodProxy: *mut InputMethod_InputMethodProxy,
    enterKey: InputMethod_EnterKeyType,
    textType: InputMethod_TextInputType,
) -> InputMethod_ErrorCode
Expand description

@brief Notify text editor configuration change.

@param inputMethodProxy Represents a pointer to an {@link InputMethod_InputMethodProxy} instance. The inputMethodProxy is obtained from {@link OH_InputMethodController_Attach}. @param enterKey The enter key type. @param textType The text input type. @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_PARAMCHECK} - parameter check failed. {@link IME_ERR_IMCLIENT} - input method client error. {@link IME_ERR_IMMS} - input method manager service error. {@link IME_ERR_DETACHED} - input method client detached. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12