Class TextInputChannel.Configuration
java.lang.Object
io.flutter.embedding.engine.systemchannels.TextInputChannel.Configuration
- Enclosing class:
- TextInputChannel
A text editing configuration.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final boolean
final String[]
final boolean
final boolean
final boolean
final TextInputChannel.Configuration[]
final Integer
final boolean
-
Constructor Summary
ConstructorDescriptionConfiguration
(boolean obscureText, boolean autocorrect, boolean enableSuggestions, boolean enableIMEPersonalizedLearning, boolean enableDeltaModel, TextInputChannel.TextCapitalization textCapitalization, TextInputChannel.InputType inputType, Integer inputAction, String actionLabel, TextInputChannel.Configuration.Autofill autofill, String[] contentCommitMimeTypes, TextInputChannel.Configuration[] fields) -
Method Summary
-
Field Details
-
obscureText
public final boolean obscureText -
autocorrect
public final boolean autocorrect -
enableSuggestions
public final boolean enableSuggestions -
enableIMEPersonalizedLearning
public final boolean enableIMEPersonalizedLearning -
enableDeltaModel
public final boolean enableDeltaModel -
textCapitalization
-
inputType
-
inputAction
-
actionLabel
-
autofill
-
contentCommitMimeTypes
-
fields
-
-
Constructor Details
-
Configuration
public Configuration(boolean obscureText, boolean autocorrect, boolean enableSuggestions, boolean enableIMEPersonalizedLearning, boolean enableDeltaModel, @NonNull TextInputChannel.TextCapitalization textCapitalization, @NonNull TextInputChannel.InputType inputType, @Nullable Integer inputAction, @Nullable String actionLabel, @Nullable TextInputChannel.Configuration.Autofill autofill, @Nullable String[] contentCommitMimeTypes, @Nullable TextInputChannel.Configuration[] fields)
-
-
Method Details
-
fromJson
@NonNull public static TextInputChannel.Configuration fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException - Throws:
JSONException
NoSuchFieldException
-