Skip to main content

OH_TextConfig_GetSelection

Function OH_TextConfig_GetSelection 

Source
pub unsafe extern "C" fn OH_TextConfig_GetSelection(
    config: *mut InputMethod_TextConfig,
    start: *mut i32,
    end: *mut i32,
) -> InputMethod_ErrorCode
Expand description

@brief Get selection from TextConfig.

@param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. @param start Represents selection start position. @param end Represents selection end position. @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