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 
9 
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.
22  *
23  * Responds to a method call.
24  *
25  * Returns: %TRUE on success.
26  */
28  FlMethodChannel* channel,
29  FlBinaryMessengerResponseHandle* response_handle,
30  FlMethodResponse* response,
31  GError** error);
32 
33 G_END_DECLS
34 
35 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_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:211
fl_method_channel.h
fl_binary_messenger.h
fl_method_response.h
error
const uint8_t uint32_t uint32_t GError ** error
Definition: fl_pixel_buffer_texture_test.cc:40