public static class TextInputChannel.InputType extends Object
If the type is TextInputChannel.TextInputType.NUMBER, this InputType also reports
whether that number isSigned and isDecimal.
| Modifier and Type | Field and Description |
|---|---|
boolean |
isDecimal |
boolean |
isSigned |
TextInputChannel.TextInputType |
type |
| Constructor and Description |
|---|
InputType(TextInputChannel.TextInputType type,
boolean isSigned,
boolean isDecimal) |
| Modifier and Type | Method and Description |
|---|---|
static TextInputChannel.InputType |
fromJson(JSONObject json) |
@NonNull public final TextInputChannel.TextInputType type
public final boolean isSigned
public final boolean isDecimal
public InputType(@NonNull
TextInputChannel.TextInputType type,
boolean isSigned,
boolean isDecimal)
@NonNull public static TextInputChannel.InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException
JSONExceptionNoSuchFieldException