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