public static class TextInputChannel.TextEditState extends Object
Modifier and Type | Field and Description |
---|---|
int |
composingEnd |
int |
composingStart |
int |
selectionEnd |
int |
selectionStart |
String |
text |
Constructor and Description |
---|
TextEditState(String text,
int selectionStart,
int selectionEnd,
int composingStart,
int composingEnd) |
Modifier and Type | Method and Description |
---|---|
static TextInputChannel.TextEditState |
fromJson(JSONObject textEditState) |
@NonNull public final String text
public final int selectionStart
public final int selectionEnd
public final int composingStart
public final int composingEnd
public TextEditState(@NonNull String text, int selectionStart, int selectionEnd, int composingStart, int composingEnd) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public static TextInputChannel.TextEditState fromJson(@NonNull JSONObject textEditState) throws JSONException
JSONException