propDelegate

inline fun <R, T : Any> Proxy.propDelegate(interfaceName: InterfaceName, propertyName: PropertyName): PropertyDelegate<R, T>

Creates a read-only Kotlin property delegate backed by a D-Bus property.

Return

A PropertyDelegate usable with the by keyword

Parameters

interfaceName

Interface that declares the property

propertyName

Name of the property