public InputMethodHighlight (boolean selected, int state, int variation)

Constructs an input method highlight record. The style is set to null.

Parameters:
selected    Whether the text range is selected
state    The conversion state for the text range - RAW_TEXT or CONVERTED_TEXT
variation    The style variation for the text range

Exceptions:
IllegalArgumentException    if a state other than RAW_TEXT or CONVERTED_TEXT is given

See also:
InputMethodHighlight.RAW_TEXT, InputMethodHighlight.CONVERTED_TEXT