Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
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
13G_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 */
30 FlMethodChannel* channel,
31 FlBinaryMessengerResponseHandle* response_handle,
32 FlMethodResponse* response,
33 GError** error);
34
35G_END_DECLS
36
37#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_H_
G_BEGIN_DECLS gboolean fl_method_channel_respond(FlMethodChannel *channel, FlBinaryMessengerResponseHandle *response_handle, FlMethodResponse *response, GError **error)
const gchar * channel
const uint8_t uint32_t uint32_t GError ** error