Skip to main content

OH_TextConfig_GetInputType

Function OH_TextConfig_GetInputType 

Source
pub unsafe extern "C" fn OH_TextConfig_GetInputType(
    config: *mut InputMethod_TextConfig,
    inputType: *mut InputMethod_TextInputType,
) -> InputMethod_ErrorCode
Expand description

@brief Get input type from TextConfig

@param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. @param inputType Represents a pointer to an {@link InputMethod_TextInputType} instance. The text input type of text Editor @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12