[gio.global.busUnownName] to stop owning the name.
busOwnNameOnConnection
fn
uint busOwnNameOnConnection(gio.dbus_connection.DBusConnection connection, string name, gio.types.BusNameOwnerFlags flags, gobject.closure.Closure nameAcquiredClosure = null, gobject.closure.Closure nameLostClosure = null)Version of [gio.global.busOwnNameOnConnection] using closures instead of callbacks for easier binding in other languages.
Parameters
connection | a #GDBusConnection |
name | the well-known name to own |
flags | a set of flags from the #GBusNameOwnerFlags enumeration |
nameAcquiredClosure | #GClosure to invoke when name is acquired or null |
nameLostClosure | #GClosure to invoke when name is lost or null |
Returns
an identifier (never 0) that can be used with