getAllPropertiesAsync

Asynchronously gets the values of all properties declared on the given interface.

This is the direct, one-shot async equivalent of getAllProperties: it suspends until all properties have been retrieved, returning the map of property values directly rather than a builder.

Return

A map of property name to its current value

Example of use:

val props = proxy.getAllPropertiesAsync(InterfaceName("com.kistler.foo"))

Parameters

interfaceName

Interface whose properties will be read

Throws


Deprecated

The fluent property layer is deprecated; use the direct accessor Proxy.getAllPropertiesAsync(interfaceName) instead. Removed at 1.0.

Replace with

getAllPropertiesAsync(interfaceName)

Gets values of all properties of the D-Bus object asynchronously

Return

A helper object for convenient asynchronous getting of properties' values

This is a high-level, convenience way of reading D-Bus properties' values that abstracts from the D-Bus message concept.

Example of use:

val props = proxy.getAllPropertiesAsync().onInterface(InterfaceName("com.kistler.foo"))
getResult();

Throws