DBusInterfaceInfo

class DBusInterfaceInfo(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Information about a D-Bus interface.

Skipped during bindings generation

  • field methods: Array parameter of type DBusMethodInfo is not supported

  • field signals: Array parameter of type DBusSignalInfo is not supported

  • field properties: Array parameter of type DBusPropertyInfo is not supported

  • field annotations: Array parameter of type DBusAnnotationInfo is not supported

Since

2.26

Constructors

Link copied to clipboard
constructor()

Allocate a new DBusInterfaceInfo.

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

Allocate a new DBusInterfaceInfo using the provided AutofreeScope.

constructor(refCount: <Error class: unknown class>, name: String?)

Allocate a new DBusInterfaceInfo.

constructor(refCount: <Error class: unknown class>, name: String?, scope: <Error class: unknown class>)

Allocate a new DBusInterfaceInfo using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gioDBusInterfaceInfoPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var name: String?

The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties".

Link copied to clipboard
var refCount: <Error class: unknown class>

The reference count or -1 if statically allocated.

Functions

Link copied to clipboard

Builds a lookup-cache to speed up g_dbus_interface_info_lookup_method(), g_dbus_interface_info_lookup_signal() and g_dbus_interface_info_lookup_property().

Link copied to clipboard

Decrements the usage count for the cache for @info built by g_dbus_interface_info_cache_build() (if any) and frees the resources used by the cache if the usage count drops to zero.

Link copied to clipboard
fun generateXml(indent: <Error class: unknown class>, stringBuilder: <Error class: unknown class>)

Appends an XML representation of @info (and its children) to @string_builder.

Link copied to clipboard

Looks up information about a method.

Link copied to clipboard

Looks up information about a property.

Link copied to clipboard

Looks up information about a signal.

Link copied to clipboard

If @info is statically allocated does nothing. Otherwise increases the reference count.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun unref()

If @info is statically allocated, does nothing. Otherwise decreases the reference count of @info. When its reference count drops to 0, the memory used is freed.