You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
* Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-Adapter1.SetDiscoveryFilter">SetDiscoveryFilter()</link> D-Bus method.
601
+
*
602
+
* If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call adapter1_complete_set_discovery_filter() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
603
+
*
604
+
* Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
* @arg_filter: Argument to pass with the method invocation.
1486
+
* @cancellable: (allow-none): A #GCancellable or %NULL.
1487
+
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1488
+
* @user_data: User data to pass to @callback.
1489
+
*
1490
+
* Asynchronously invokes the <link linkend="gdbus-method-org-bluez-Adapter1.SetDiscoveryFilter">SetDiscoveryFilter()</link> D-Bus method on @proxy.
1491
+
* When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1492
+
* You can then call adapter1_call_set_discovery_filter_finish() to get the result of the operation.
1493
+
*
1494
+
* See adapter1_call_set_discovery_filter_sync() for the synchronous, blocking version of this method.
1495
+
*/
1496
+
void
1497
+
adapter1_call_set_discovery_filter (
1498
+
Adapter1*proxy,
1499
+
GVariant*arg_filter,
1500
+
GCancellable*cancellable,
1501
+
GAsyncReadyCallbackcallback,
1502
+
gpointeruser_data)
1503
+
{
1504
+
g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1505
+
"SetDiscoveryFilter",
1506
+
g_variant_new ("(@a{sv})",
1507
+
arg_filter),
1508
+
G_DBUS_CALL_FLAGS_NONE,
1509
+
-1,
1510
+
cancellable,
1511
+
callback,
1512
+
user_data);
1513
+
}
1514
+
1515
+
/**
1516
+
* adapter1_call_set_discovery_filter_finish:
1517
+
* @proxy: A #Adapter1Proxy.
1518
+
* @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to adapter1_call_set_discovery_filter().
1519
+
* @error: Return location for error or %NULL.
1520
+
*
1521
+
* Finishes an operation started with adapter1_call_set_discovery_filter().
1522
+
*
1523
+
* Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
* @arg_filter: Argument to pass with the method invocation.
1546
+
* @cancellable: (allow-none): A #GCancellable or %NULL.
1547
+
* @error: Return location for error or %NULL.
1548
+
*
1549
+
* Synchronously invokes the <link linkend="gdbus-method-org-bluez-Adapter1.SetDiscoveryFilter">SetDiscoveryFilter()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1550
+
*
1551
+
* See adapter1_call_set_discovery_filter() for the asynchronous version of this method.
1552
+
*
1553
+
* Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
* @invocation: (transfer full): A #GDBusMethodInvocation.
1638
+
*
1639
+
* Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-Adapter1.SetDiscoveryFilter">SetDiscoveryFilter()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
1640
+
*
1641
+
* This method will free @invocation, you cannot use it afterwards.
0 commit comments