Skip to main content

OH_TextAvoidInfo_SetHeight

Function OH_TextAvoidInfo_SetHeight 

Source
pub unsafe extern "C" fn OH_TextAvoidInfo_SetHeight(
    info: *mut InputMethod_TextAvoidInfo,
    height: f64,
) -> InputMethod_ErrorCode
Expand description

@brief Set height value into {@link InputMethod_TextAvoidInfo}.

@param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be set value. @param height Represents height value. @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