DBusInterfaceInfo

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

Information about a D-Bus interface.

Skipped during bindings generation

  • field methods: Fields with arrays are not supported

  • field signals: Fields with arrays are not supported

  • field properties: Fields with arrays are not supported

  • field annotations: Fields with arrays are not supported

Since

2.26

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

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
val name: String?

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

Link copied to clipboard

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
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.