File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
shell/platform/android/io/flutter/plugin/common Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -173,8 +173,10 @@ public interface MethodCallHandler {
173
173
* <p>Any uncaught exception thrown by this method will be caught by the channel implementation
174
174
* and logged, and an error result will be sent back to Flutter.
175
175
*
176
- * <p>The handler is called on the platform thread (Android main thread). For more details see
177
- * <a href="https://github.com/flutter/engine/wiki/Threading-in-the-Flutter-Engine">Threading in
176
+ * <p>The handler is called on the platform thread (Android main thread) by default, or
177
+ * otherwise on the thread specified by the {@link BinaryMessenger.TaskQueue} provided to the
178
+ * associated {@link MethodChannel} when it was created. See also <a
179
+ * href="https://github.com/flutter/flutter/wiki/The-Engine-architecture#threading">Threading in
178
180
* the Flutter Engine</a>.
179
181
*
180
182
* @param call A {@link MethodCall}.
@@ -190,10 +192,7 @@ public interface MethodCallHandler {
190
192
* Flutter methods provide implementations of this interface for handling results received from
191
193
* Flutter.
192
194
*
193
- * <p>All methods of this class must be called on the platform thread (Android main thread). For
194
- * more details see <a
195
- * href="https://github.com/flutter/engine/wiki/Threading-in-the-Flutter-Engine">Threading in the
196
- * Flutter Engine</a>.
195
+ * <p>All methods of this class can be invoked on any thread.
197
196
*/
198
197
public interface Result {
199
198
/**
You can’t perform that action at this time.
0 commit comments