DBusObjectProxy

open class DBusObjectProxy(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusObject

A GDBusObjectProxy is an object used to represent a remote object with one or more D-Bus interfaces. Normally, you don’t instantiate a GDBusObjectProxy yourself — typically class@Gio.DBusObjectManagerClient is used to obtain it.

Skipped during bindings generation

  • method g-connection: Property has no getter nor setter

  • method g-object-path: Property has no getter nor setter

Since

2.30

Constructors

Link copied to clipboard
constructor(connection: DBusConnection, objectPath: String)

Creates a new #GDBusObjectProxy for the given connection and object path.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val gioDBusObjectPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gioDBusObjectProxyPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun connectInterfaceAdded(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (interface: DBusInterface) -> Unit): <Error class: unknown class>

Emitted when @interface is added to @object.

Link copied to clipboard
open fun connectInterfaceRemoved(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (interface: DBusInterface) -> Unit): <Error class: unknown class>

Emitted when @interface is removed from @object.

Link copied to clipboard

Gets the connection that @proxy is for.

Link copied to clipboard
open fun getInterface(interfaceName: String): DBusInterface?

Gets the D-Bus interface with name @interface_name associated with

Link copied to clipboard
open fun getInterfaces(): <Error class: unknown class>

Gets the D-Bus interfaces associated with @object.

Link copied to clipboard
open fun getObjectPath(): String

Gets the object path for @object.