DBusInterfaceSkeleton.export_

bool export_(gio.dbus_connection.DBusConnection connection, string objectPath)

Exports interface_ at object_path on connection.

This can be called multiple times to export the same interface_ onto multiple connections however the object_path provided must be the same for all connections.

Use [gio.dbus_interface_skeleton.DBusInterfaceSkeleton.unexport] to unexport the object.

Parameters

connectionA #GDBusConnection to export interface_ on.
objectPathThe path to export the interface at.

Returns

true if the interface was exported on connection, otherwise false with

error set.

Throws

[ErrorWrap]