Skip to main content

OH_TextConfig_GetEnterKeyType

Function OH_TextConfig_GetEnterKeyType 

Source
pub unsafe extern "C" fn OH_TextConfig_GetEnterKeyType(
    config: *mut InputMethod_TextConfig,
    enterKeyType: *mut InputMethod_EnterKeyType,
) -> InputMethod_ErrorCode
Expand description

@brief Get enter key type from TextConfig

@param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. @param enterKeyType Represents a pointer to an {@link InputMethod_EnterKeyType} instance. Indicates the enter key 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