DBusNodeInfo

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

Information about nodes in a remote object hierarchy.

Skipped during bindings generation

  • field interfaces: Array parameter of type DBusInterfaceInfo is not supported

  • field nodes: Array parameter of type DBusNodeInfo 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 DBusNodeInfo.

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

Allocate a new DBusNodeInfo using the provided AutofreeScope.

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

Allocate a new DBusNodeInfo.

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

Allocate a new DBusNodeInfo 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 gioDBusNodeInfoPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var path: String?

The path of the node or null if omitted. Note that this may be a relative path. See the D-Bus specification for more details.

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

The reference count or -1 if statically allocated.

Functions

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

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.