Gio.DBusInterfaceSkeleton.prototype.export

function export(connection: Gio.DBusConnection, object_path: String): Boolean {
    // Gjs wrapper for g_dbus_interface_skeleton_export()
}
  

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.DBusInterfaceSkeleton.prototype.unexport to unexport the object.

Since 2.30

connection

A Gio.DBusConnection to export interface_ on.

object_path

The path to export the interface at.

Returns

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