public static class TextInputChannel.Configuration extends Object
Modifier and Type | Field and Description |
---|---|
String |
actionLabel |
boolean |
autocorrect |
Integer |
inputAction |
TextInputChannel.InputType |
inputType |
boolean |
obscureText |
TextInputChannel.TextCapitalization |
textCapitalization |
Constructor and Description |
---|
Configuration(boolean obscureText,
boolean autocorrect,
TextInputChannel.TextCapitalization textCapitalization,
TextInputChannel.InputType inputType,
Integer inputAction,
String actionLabel) |
Modifier and Type | Method and Description |
---|---|
static TextInputChannel.Configuration |
fromJson(JSONObject json) |
public final boolean obscureText
public final boolean autocorrect
@NonNull public final TextInputChannel.TextCapitalization textCapitalization
@NonNull public final TextInputChannel.InputType inputType
public Configuration(boolean obscureText, boolean autocorrect, @NonNull TextInputChannel.TextCapitalization textCapitalization, @NonNull TextInputChannel.InputType inputType, @Nullable Integer inputAction, @Nullable String actionLabel)
public static TextInputChannel.Configuration fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException
JSONException
NoSuchFieldException