DBusAnnotationInfo

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

Information about an annotation.

Skipped during bindings generation

  • parameter annotations: Array parameter of type DBusAnnotationInfo 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 DBusAnnotationInfo.

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

Allocate a new DBusAnnotationInfo using the provided AutofreeScope.

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

Allocate a new DBusAnnotationInfo.

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

Allocate a new DBusAnnotationInfo 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 gioDBusAnnotationInfoPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var key: String?

The name of the annotation, e.g. "org.freedesktop.DBus.Deprecated".

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

The reference count or -1 if statically allocated.

Link copied to clipboard

The value of the annotation.

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.