Flutter Engine
The Flutter Engine
|
#include "flutter/shell/platform/linux/public/flutter_linux/fl_method_response.h"
#include <gmodule.h>
Go to the source code of this file.
Classes | |
struct | _FlMethodSuccessResponse |
struct | _FlMethodErrorResponse |
struct | _FlMethodNotImplementedResponse |
Functions | |
G_DEFINE_TYPE (FlMethodSuccessResponse, fl_method_success_response, fl_method_response_get_type()) G_DEFINE_TYPE(FlMethodErrorResponse | |
fl_method_response_get_type ()) G_DEFINE_TYPE(FlMethodNotImplementedResponse | |
static void | fl_method_response_init (FlMethodResponse *self) |
static void | fl_method_success_response_dispose (GObject *object) |
static void | fl_method_success_response_class_init (FlMethodSuccessResponseClass *klass) |
static void | fl_method_success_response_init (FlMethodSuccessResponse *self) |
static void | fl_method_error_response_dispose (GObject *object) |
static void | fl_method_error_response_class_init (FlMethodErrorResponseClass *klass) |
static void | fl_method_error_response_init (FlMethodErrorResponse *self) |
static void | fl_method_not_implemented_response_class_init (FlMethodNotImplementedResponseClass *klass) |
static void | fl_method_not_implemented_response_init (FlMethodNotImplementedResponse *self) |
G_MODULE_EXPORT FlValue * | fl_method_response_get_result (FlMethodResponse *self, GError **error) |
G_MODULE_EXPORT FlMethodSuccessResponse * | fl_method_success_response_new (FlValue *result) |
G_MODULE_EXPORT FlValue * | fl_method_success_response_get_result (FlMethodSuccessResponse *self) |
G_MODULE_EXPORT FlMethodErrorResponse * | fl_method_error_response_new (const gchar *code, const gchar *message, FlValue *details) |
G_MODULE_EXPORT const gchar * | fl_method_error_response_get_code (FlMethodErrorResponse *self) |
G_MODULE_EXPORT const gchar * | fl_method_error_response_get_message (FlMethodErrorResponse *self) |
G_MODULE_EXPORT FlValue * | fl_method_error_response_get_details (FlMethodErrorResponse *self) |
G_MODULE_EXPORT FlMethodNotImplementedResponse * | fl_method_not_implemented_response_new () |
Variables | |
fl_method_error_response | |
fl_method_not_implemented_response | |
|
static |
Definition at line 69 of file fl_method_response.cc.
|
static |
Definition at line 59 of file fl_method_response.cc.
G_MODULE_EXPORT const gchar * fl_method_error_response_get_code | ( | FlMethodErrorResponse * | self | ) |
Definition at line 160 of file fl_method_response.cc.
G_MODULE_EXPORT FlValue * fl_method_error_response_get_details | ( | FlMethodErrorResponse * | self | ) |
Definition at line 172 of file fl_method_response.cc.
G_MODULE_EXPORT const gchar * fl_method_error_response_get_message | ( | FlMethodErrorResponse * | self | ) |
Definition at line 166 of file fl_method_response.cc.
|
static |
Definition at line 74 of file fl_method_response.cc.
G_MODULE_EXPORT FlMethodErrorResponse * fl_method_error_response_new | ( | const gchar * | code, |
const gchar * | message, | ||
FlValue * | details | ||
) |
Definition at line 144 of file fl_method_response.cc.
|
static |
Definition at line 76 of file fl_method_response.cc.
|
static |
Definition at line 79 of file fl_method_response.cc.
G_MODULE_EXPORT FlMethodNotImplementedResponse * fl_method_not_implemented_response_new | ( | ) |
Definition at line 179 of file fl_method_response.cc.
G_MODULE_EXPORT FlValue * fl_method_response_get_result | ( | FlMethodResponse * | self, |
GError ** | error | ||
) |
Definition at line 82 of file fl_method_response.cc.
fl_method_response_get_type | ( | ) |
Definition at line 38 of file fl_method_response.cc.
|
static |
Definition at line 42 of file fl_method_response.cc.
|
static |
Definition at line 52 of file fl_method_response.cc.
|
static |
Definition at line 44 of file fl_method_response.cc.
G_MODULE_EXPORT FlValue * fl_method_success_response_get_result | ( | FlMethodSuccessResponse * | response | ) |
fl_method_success_response_get_result: @response: an #FlMethodSuccessResponse.
Gets the result of the method call.
Returns: an FlValue.
Definition at line 138 of file fl_method_response.cc.
|
static |
Definition at line 57 of file fl_method_response.cc.
G_MODULE_EXPORT FlMethodSuccessResponse * fl_method_success_response_new | ( | FlValue * | result | ) |
fl_method_success_response_new:
Creates a response to a method call when that method has successfully completed.
Returns: a new #FlMethodResponse.
Definition at line 126 of file fl_method_response.cc.
G_DEFINE_TYPE | ( | FlMethodSuccessResponse | , |
fl_method_success_response | , | ||
fl_method_response_get_type() | |||
) |
fl_method_error_response |
Definition at line 34 of file fl_method_response.cc.
fl_method_not_implemented_response |
Definition at line 37 of file fl_method_response.cc.