handle_enable


Description:

public virtual signal bool handle_enable (DBusMethodInvocation invocation, bool arg_enable)

Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem.

Enable">Enable</link> D-Bus method.

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 complete_enable or e.g. return_error on it) and no other signal handlers will run. If no signal handler handles the invocation, the g_dbus_error_unknown_method error is returned.

Parameters:

invocation

A DBusMethodInvocation.

arg_enable

Argument passed by remote caller.

Returns:

g_dbus_method_invocation_handled or true if the invocation was handled, g_dbus_method_invocation_unhandled or false to let other signal handlers run.