Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS G_MODULE_EXPORT const gchar * | fl_method_call_get_name (FlMethodCall *method_call) |
FlValue * | fl_method_call_get_args (FlMethodCall *method_call) |
gboolean | fl_method_call_respond (FlMethodCall *method_call, FlMethodResponse *response, GError **error) |
gboolean | fl_method_call_respond_success (FlMethodCall *method_call, FlValue *result, GError **error) |
FlValue * fl_method_call_get_args | ( | FlMethodCall * | method_call | ) |
fl_method_call_get_args: @method_call: an #FlMethodCall.
Gets the arguments passed to the method.
Returns: an FlValue.
Definition at line 72 of file fl_method_call.cc.
G_BEGIN_DECLS G_MODULE_EXPORT const gchar * fl_method_call_get_name | ( | FlMethodCall * | method_call | ) |
FlMethodCall:
#FlMethodCall represents and incoming method call as returned by an #FlMethodChannel. fl_method_call_get_name: @method_call: an #FlMethodCall.
Gets the name of the method call.
Returns: a method name.
Definition at line 67 of file fl_method_call.cc.
gboolean fl_method_call_respond | ( | FlMethodCall * | method_call, |
FlMethodResponse * | response, | ||
GError ** | error | ||
) |
fl_method_call_respond: @method_call: an #FlMethodCall. @response: an #FlMethodResponse. @error: (allow-none): #GError location to store the error occurring, or NULL to ignore.
Responds to a method call.
Returns: TRUE on success.
Definition at line 77 of file fl_method_call.cc.
gboolean fl_method_call_respond_success | ( | FlMethodCall * | method_call, |
FlValue * | result, | ||
GError ** | error | ||
) |
fl_method_call_respond_success: @method_call: an #FlMethodCall.
Convenience method that responds to method call with #FlMethodSuccessResponse.
Returns: TRUE on success.
Definition at line 100 of file fl_method_call.cc.