#import <FlutterCallbackCache.h>
Class Methods | |
(FlutterCallbackInformation *) | + lookupCallbackInformation: |
(void) | + setCachePath: [implementation] |
The cache containing callback information for spawning a FlutterHeadlessDartRunner
.
Definition at line 37 of file FlutterCallbackCache.h.
+ (FlutterCallbackInformation *) lookupCallbackInformation: | (int64_t) | handle |
Returns the callback information for the given callback handle. This callback information can be used when spawning a FlutterHeadlessDartRunner
.
handle | The handle for a callback, provided by the Dart method PluginUtilities.getCallbackHandle . |
FlutterCallbackInformation
object which contains the name of the callback, the name of the class in which the callback is defined, and the path of the library which contains the callback. If the provided handle is invalid, nil is returned. Definition at line 17 of file FlutterCallbackCache.mm.
References FlutterCallbackInformation::callbackClassName, FlutterCallbackInformation::callbackLibraryPath, and FlutterCallbackInformation::callbackName.
|
implementation |