Flutter Engine
The Flutter Engine
|
Public Member Functions | |
DeferredComponentChannel (@NonNull DartExecutor dartExecutor) | |
void | setDeferredComponentManager ( @Nullable DeferredComponentManager deferredComponentManager) |
void | completeInstallSuccess (String componentName) |
void | completeInstallError (String componentName, String errorMessage) |
Package Attributes | |
final MethodChannel.MethodCallHandler | parsingMethodHandler |
Method channel that handles manual installation requests and queries for installation state for deferred components.
This channel is able to handle multiple simultaneous installation requests
Definition at line 28 of file DeferredComponentChannel.java.
|
inline |
Constructs a DeferredComponentChannel
that connects Android to the Dart code running in dartExecutor
.
The given dartExecutor
is permitted to be idle or executing code.
See DartExecutor
.
Definition at line 84 of file DeferredComponentChannel.java.
|
inline |
Finishes the installDeferredComponent
method channel call for the specified componentName with an error/failure.
componentName | The name of the android deferred component install request to complete. |
errorMessage | The error message to display to complete the future with. |
Definition at line 126 of file DeferredComponentChannel.java.
|
inline |
Finishes the installDeferredComponent
method channel call for the specified componentName with a success.
componentName | The name of the android deferred component install request to complete. |
Definition at line 109 of file DeferredComponentChannel.java.
|
inline |
Sets the DeferredComponentManager to exectue method channel calls with.
deferredComponentManager | the DeferredComponentManager to use. |
Definition at line 98 of file DeferredComponentChannel.java.
|
package |
Definition at line 39 of file DeferredComponentChannel.java.