| Flutter Linux Embedder |

fl_method_call_private.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CALL_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CALL_PRIVATE_H_
7
8 #include "flutter/shell/platform/linux/public/flutter_linux/fl_method_call.h"
9
10 #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
11 #include "flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h"
12 #include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
13
14 G_BEGIN_DECLS
15
16 /**
17 * fl_method_call_new:
18 * @name: a method name.
19 * @args: arguments provided to a method.
20 * @channel: channel call received on.
21 * @response_handle: handle to respond with.
22 *
23 * Creates a method call.
24 *
25 * Returns: a new #FlMethodCall.
26 */
27 FlMethodCall* fl_method_call_new(
28 const gchar* name,
29 FlValue* args,
30 FlMethodChannel* channel,
31 FlBinaryMessengerResponseHandle* response_handle);
32
33 G_END_DECLS
34
35 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CALL_PRIVATE_H_
fl_binary_messenger.h
args
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Definition: fl_event_channel.h:89
fl_method_call.h
fl_method_call_new
FlMethodCall * fl_method_call_new(const gchar *name, FlValue *args, FlMethodChannel *channel, FlBinaryMessengerResponseHandle *response_handle)
Definition: fl_method_call.cc:44
fl_method_channel.h
fl_value.h
FlValue
typedefG_BEGIN_DECLS struct _FlValue FlValue
Definition: fl_value.h:42