export

open fun export(connection: DBusConnection, objectPath: String): <Error class: unknown class><Boolean>

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 g_dbus_interface_skeleton_unexport() to unexport the object.

Return

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

Since

2.30

Parameters

connection

A #GDBusConnection to export @interface_ on.

objectPath

The path to export the interface at.