Flutter Linux Embedder
fl_standard_method_codec.h File Reference
#include <gmodule.h>
#include "fl_method_codec.h"

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE (FlStandardMethodCodec, fl_standard_method_codec, FL, STANDARD_METHOD_CODEC, FlMethodCodec) FlStandardMethodCodec *fl_standard_method_codec_new()
 

Function Documentation

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE ( FlStandardMethodCodec  ,
fl_standard_method_codec  ,
FL  ,
STANDARD_METHOD_CODEC  ,
FlMethodCodec   
)

FlStandardMethodCodec:

#FlStandardMethodCodec is an #FlMethodCodec that implements method calls using the Flutter standard message encoding. It should be used with a #FlMethodChannel.

#FlStandardMethodCodec matches the StandardMethodCodec class in the Flutter services library. fl_standard_method_codec_new:

Creates an #FlStandardMethodCodec.

Returns: a new #FlStandardMethodCodec.