DBusObjectManagerClient

constructor(res: AsyncResult)

Finishes an operation started with g_dbus_object_manager_client_new().

Return

A #GDBusObjectManagerClient object or null if @error is set. Free with g_object_unref().

Since

2.30

Parameters

res

A #GAsyncResult obtained from the #GAsyncReadyCallback passed to g_dbus_object_manager_client_new().


constructor(busType: BusType, flags: DBusObjectManagerClientFlags, name: String, objectPath: String, getProxyTypeFunc: DBusProxyTypeFunc?, cancellable: Cancellable? = null)

Like g_dbus_object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection.

This is a synchronous failable constructor - the calling thread is blocked until a reply is received. See g_dbus_object_manager_client_new_for_bus() for the asynchronous version.

Return

A #GDBusObjectManagerClient object or null if @error is set. Free with g_object_unref().

Since

2.30

Parameters

busType

A #GBusType.

flags

Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.

name

The owner of the control object (unique or well-known name).

objectPath

The object path of the control object.

getProxyTypeFunc

A #GDBusProxyTypeFunc function or null to always construct #GDBusProxy proxies.

cancellable

A #GCancellable or null


constructor(connection: DBusConnection, flags: DBusObjectManagerClientFlags, name: String? = null, objectPath: String, getProxyTypeFunc: DBusProxyTypeFunc?, cancellable: Cancellable? = null)

Creates a new #GDBusObjectManagerClient object.

This is a synchronous failable constructor - the calling thread is blocked until a reply is received. See g_dbus_object_manager_client_new() for the asynchronous version.

Return

A #GDBusObjectManagerClient object or null if @error is set. Free with g_object_unref().

Since

2.30

Parameters

connection

A #GDBusConnection.

flags

Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.

name

The owner of the control object (unique or well-known name), or null when not using a message bus connection.

objectPath

The object path of the control object.

getProxyTypeFunc

A #GDBusProxyTypeFunc function or null to always construct #GDBusProxy proxies.

cancellable

A #GCancellable or null


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)