5#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_METHOD_RESPONSE_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_METHOD_RESPONSE_H_
8#if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION)
9#error "Only <flutter_linux/flutter_linux.h> can be included directly."
12#include <glib-object.h>
30#define FL_METHOD_RESPONSE_ERROR fl_method_response_error_quark()
50struct _FlMethodResponseClass {
51 GObjectClass parent_class;
56 fl_method_success_response,
58 METHOD_SUCCESS_RESPONSE,
72 METHOD_NOT_IMPLEMENTED_RESPONSE,
161 FlMethodSuccessResponse* response);
197 FlMethodErrorResponse* response);
fl_method_not_implemented_response
G_MODULE_EXPORT FlValue * fl_method_response_get_result(FlMethodResponse *self, GError **error)
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_message(FlMethodErrorResponse *self)
G_MODULE_EXPORT FlValue * fl_method_error_response_get_details(FlMethodErrorResponse *self)
G_MODULE_EXPORT const gchar * fl_method_error_response_get_code(FlMethodErrorResponse *self)
G_MODULE_EXPORT FlMethodNotImplementedResponse * fl_method_not_implemented_response_new()
G_MODULE_EXPORT FlMethodResponse G_MODULE_EXPORT GError ** error
G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodSuccessResponse, fl_method_success_response, FL, METHOD_SUCCESS_RESPONSE, FlMethodResponse) G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodErrorResponse
@ FL_METHOD_RESPONSE_ERROR_NOT_IMPLEMENTED
@ FL_METHOD_RESPONSE_ERROR_FAILED
@ FL_METHOD_RESPONSE_ERROR_REMOTE_ERROR
FlValue * fl_method_success_response_get_result(FlMethodSuccessResponse *response)
G_MODULE_EXPORT GQuark fl_method_response_error_quark(void) G_GNUC_CONST
G_MODULE_EXPORT fl_method_error_response
G_MODULE_EXPORT METHOD_ERROR_RESPONSE
G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlMethodResponse, fl_method_response, FL, METHOD_RESPONSE, GObject) struct _FlMethodResponseClass
FlMethodSuccessResponse * fl_method_success_response_new(FlValue *result)
typedefG_BEGIN_DECLS struct _FlValue FlValue