DBusSignalCallback


Description:

[ CCode ( instance_pos = 6.9 ) ]
[ Version ( since = "2.26" ) ]
public delegate void DBusSignalCallback (DBusConnection connection, string? sender_name, string object_path, string interface_name, string signal_name, Variant parameters)

Signature for callback function used in signal_subscribe.

Parameters:

connection

A DBusConnection.

sender_name

The unique bus name of the sender of the signal, or null on a peer-to-peer D-Bus connection.

object_path

The object path that the signal was emitted on.

interface_name

The name of the interface.

signal_name

The name of the signal.

parameters

A Variant tuple with parameters for the signal.

user_data

User data passed when subscribing to the signal.


Namespace: GLib
Package: gio-2.0



2022 vala-language.org