| Flutter Linux Embedder |

fl_method_channel_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_CHANNEL_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_H_
7
8 #include "flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.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_response.h"
12
13 G_BEGIN_DECLS
14
15 /**
16 * fl_method_channel_respond:
17 * @channel: an #FlMethodChannel.
18 * @response_handle: an #FlBinaryMessengerResponseHandle.
19 * @response: an #FlMethodResponse.
20 * @error: (allow-none): #GError location to store the error occurring, or %NULL
21 * to ignore. If `error` is not %NULL, `*error` must be initialized (typically
22 * %NULL, but an error from a previous call using GLib error handling is
23 * explicitly valid).
24 *
25 * Responds to a method call.
26 *
27 * Returns: %TRUE on success.
28 */
29 gboolean fl_method_channel_respond(
30 FlMethodChannel* channel,
31 FlBinaryMessengerResponseHandle* response_handle,
32 FlMethodResponse* response,
33 GError** error);
34
35 G_END_DECLS
36
37 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_H_
fl_binary_messenger.h
fl_method_channel.h
fl_method_channel_respond
G_BEGIN_DECLS gboolean fl_method_channel_respond(FlMethodChannel *channel, FlBinaryMessengerResponseHandle *response_handle, FlMethodResponse *response, GError **error)
Definition: fl_method_channel.cc:215
fl_method_response.h
error
const uint8_t uint32_t uint32_t GError ** error
Definition: fl_pixel_buffer_texture_test.cc:40