From bdca9fb4476d4f269a9bc936b600c7e991ac894b Mon Sep 17 00:00:00 2001 From: Camille Simon <43054281+camsim99@users.noreply.github.com> Date: Wed, 18 May 2022 10:37:05 -0700 Subject: [PATCH] Correct SpellCheckChannel Javadoc (flutter/engine#33398) --- .../engine/systemchannels/SpellCheckChannel.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java index 4c8fbec04b..3aa01961b3 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java @@ -25,13 +25,13 @@ import org.json.JSONException; * fetch spell check results for the specified text. * *

Once the spell check results are received by the {@link - * io.flutter.plugin.editing.SpellCheckPlugin}, it will send to the framework the message {@code - * SpellCheck.updateSpellCheckResults} with the {@code ArrayList} of encoded spell check - * results (see {@link - * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions(SentenceSuggestionsInfo[])} - * for details) with the text that these results correspond to appeneded to the front as an - * argument. For example, the argument may look like: {@code {"Hello, wrold!", - * "7.11.world\nword\nold"}}. + * io.flutter.plugin.editing.SpellCheckPlugin}, it will send back to the framework the {@code + * ArrayList} of encoded spell check results (see {@link + * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions} for details) with the text + * that these results correspond to appended to the front as an argument. For example, the argument + * may look like: {@code {"Hello, wrold!", "7.11.world\nword\nold"}}. The {@link + * io.flutter.plugin.editing.SpellCheckPlugin} only handles one request to fetch spell check results + * at a time; see {@link io.flutter.plugin.editing.SpellCheckPlugin#initiateSpellCheck} for details. * *

{@link io.flutter.plugin.editing.SpellCheckPlugin} implements {@link SpellCheckMethodHandler} * to initiate spell check. Implement {@link SpellCheckMethodHandler} to respond to spell check