Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,10 @@ public interface MethodCallHandler {
* <p>Any uncaught exception thrown by this method will be caught by the channel implementation
* and logged, and an error result will be sent back to Flutter.
*
* <p>The handler is called on the platform thread (Android main thread). For more details see
* <a href="https://github.com/flutter/engine/wiki/Threading-in-the-Flutter-Engine">Threading in
* <p>The handler is called on the platform thread (Android main thread) by default, or
* otherwise on the thread specified by the {@link BinaryMessenger.TaskQueue} provided to the
* associated {@link MethodChannel} when it was created. See also <a
* href="https://github.com/flutter/flutter/wiki/The-Engine-architecture#threading">Threading in
* the Flutter Engine</a>.
*
* @param call A {@link MethodCall}.
Expand All @@ -190,10 +192,7 @@ public interface MethodCallHandler {
* Flutter methods provide implementations of this interface for handling results received from
* Flutter.
*
* <p>All methods of this class must be called on the platform thread (Android main thread). For
* more details see <a
* href="https://github.com/flutter/engine/wiki/Threading-in-the-Flutter-Engine">Threading in the
* Flutter Engine</a>.
* <p>All methods of this class can be invoked on any thread.
*/
public interface Result {
/**
Expand Down