DBusInterfaceSkeleton

open class DBusInterfaceSkeleton(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusInterface

Abstract base class for D-Bus interfaces on the service side.

Skipped during bindings generation

  • method g-flags: Property has no getter nor setter

Since

2.30

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
open override val gioDBusInterfacePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gioDBusInterfaceSkeletonPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun connectGAuthorizeMethod(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (invocation: DBusMethodInvocation) -> Boolean): <Error class: unknown class>

Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.

Link copied to clipboard
open fun export(connection: DBusConnection, objectPath: String): <Error class: unknown class><Boolean>

Exports @interface_ at @object_path on @connection.

Link copied to clipboard
open fun flush()

If @interface_ has outstanding changes, request for these changes to be emitted immediately.

Link copied to clipboard

Gets the first connection that @interface_ is exported on, if any.

Link copied to clipboard
open fun getConnections(): <Error class: unknown class>

Gets a list of the connections that @interface_ is exported on.

Link copied to clipboard

Gets the #GDBusInterfaceSkeletonFlags that describes what the behavior of @interface_

Link copied to clipboard
open override fun getInfo(): DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface implemented by @interface_.

Link copied to clipboard
open fun getObject(): DBusObject?

Gets the #GDBusObject that @interface_ belongs to, if any.

Link copied to clipboard
open fun getObjectPath(): String?

Gets the object path that @interface_ is exported on, if any.

Link copied to clipboard
open fun getProperties(): <Error class: unknown class>

Gets all D-Bus properties for @interface_.

Link copied to clipboard
open fun hasConnection(connection: DBusConnection): Boolean

Checks if @interface_ is exported on @connection.

Link copied to clipboard

Sets flags describing what the behavior of @skeleton should be.

Link copied to clipboard
open fun setObject(object: DBusObject? = null)

Sets the #GDBusObject for @interface_ to @object.

Link copied to clipboard
open fun unexport()

Stops exporting @interface_ on all connections it is exported on.

Link copied to clipboard

Stops exporting @interface_ on @connection.