DBusMethodInfo

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

Information about a method on a D-Bus interface.

Skipped during bindings generation

  • field in_args: Array parameter of type DBusArgInfo is not supported

  • field out_args: Array parameter of type DBusArgInfo 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 DBusMethodInfo.

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

Allocate a new DBusMethodInfo using the provided AutofreeScope.

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

Allocate a new DBusMethodInfo.

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

Allocate a new DBusMethodInfo 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 gioDBusMethodInfoPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var name: String?

The name of the D-Bus method, e.g. @RequestName.

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

The reference count or -1 if statically allocated.

Functions

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.