Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
14G_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 */
27FlMethodCall* fl_method_call_new(
28 const gchar* name,
30 FlMethodChannel* channel,
31 FlBinaryMessengerResponseHandle* response_handle);
32
33G_END_DECLS
34
35#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CALL_PRIVATE_H_
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
FlMethodCall * fl_method_call_new(const gchar *name, FlValue *args, FlMethodChannel *channel, FlBinaryMessengerResponseHandle *response_handle)
typedefG_BEGIN_DECLS struct _FlValue FlValue
Definition fl_value.h:42
const char * name
Definition fuchsia.cc:50