Flutter Engine
The Flutter Engine
|
#include "flutter/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h"
#include <gmodule.h>
#include "flutter/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h"
Go to the source code of this file.
Classes | |
struct | _FlJsonMethodCodec |
Functions | |
G_DEFINE_TYPE (FlJsonMethodCodec, fl_json_method_codec, fl_method_codec_get_type()) static void fl_json_method_codec_dispose(GObject *object) | |
static GBytes * | fl_json_method_codec_encode_method_call (FlMethodCodec *codec, const gchar *name, FlValue *args, GError **error) |
static gboolean | fl_json_method_codec_decode_method_call (FlMethodCodec *codec, GBytes *message, gchar **name, FlValue **args, GError **error) |
static GBytes * | fl_json_method_codec_encode_success_envelope (FlMethodCodec *codec, FlValue *result, GError **error) |
static GBytes * | fl_json_method_codec_encode_error_envelope (FlMethodCodec *codec, const gchar *code, const gchar *error_message, FlValue *details, GError **error) |
static FlMethodResponse * | fl_json_method_codec_decode_response (FlMethodCodec *codec, GBytes *message, GError **error) |
static void | fl_json_method_codec_class_init (FlJsonMethodCodecClass *klass) |
static void | fl_json_method_codec_init (FlJsonMethodCodec *self) |
G_MODULE_EXPORT FlJsonMethodCodec * | fl_json_method_codec_new () |
Variables | |
static constexpr char | kMethodKey [] = "method" |
static constexpr char | kArgsKey [] = "args" |
|
static |
Definition at line 187 of file fl_json_method_codec.cc.
|
static |
Definition at line 50 of file fl_json_method_codec.cc.
|
static |
Definition at line 127 of file fl_json_method_codec.cc.
|
static |
Definition at line 106 of file fl_json_method_codec.cc.
|
static |
Definition at line 33 of file fl_json_method_codec.cc.
|
static |
Definition at line 91 of file fl_json_method_codec.cc.
|
static |
Definition at line 201 of file fl_json_method_codec.cc.
G_MODULE_EXPORT FlJsonMethodCodec * fl_json_method_codec_new | ( | ) |
Definition at line 205 of file fl_json_method_codec.cc.
G_DEFINE_TYPE | ( | FlJsonMethodCodec | , |
fl_json_method_codec | , | ||
fl_method_codec_get_type() | |||
) |
Definition at line 20 of file fl_json_method_codec.cc.
|
staticconstexpr |
Definition at line 12 of file fl_json_method_codec.cc.
|
staticconstexpr |
Definition at line 11 of file fl_json_method_codec.cc.