Package org.freedesktop.dbus.interfaces
Interface Properties
-
- All Superinterfaces:
DBusInterface
public interface Properties extends DBusInterface
A standard properties interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProperties.PropertiesChangedSignal generated when a property changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A> AGet(java.lang.String _interfaceName, java.lang.String _propertyName)Get the value for the given property.java.util.Map<java.lang.String,Variant<?>>GetAll(java.lang.String _interfaceName)Get all properties and values.<A> voidSet(java.lang.String _interfaceName, java.lang.String _propertyName, A _value)Set the value for the given property.-
Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
-
-
-
Method Detail
-
Get
<A> A Get(java.lang.String _interfaceName, java.lang.String _propertyName)Get the value for the given property.- Type Parameters:
A- whatever- Parameters:
_interfaceName- The interface this property is associated with._propertyName- The name of the property.- Returns:
- The value of the property (may be any valid DBus type).
-
Set
<A> void Set(java.lang.String _interfaceName, java.lang.String _propertyName, A _value)Set the value for the given property.- Type Parameters:
A- whatever- Parameters:
_interfaceName- The interface this property is associated with._propertyName- The name of the property._value- The new value of the property (may be any valid DBus type).
-
GetAll
java.util.Map<java.lang.String,Variant<?>> GetAll(java.lang.String _interfaceName)
Get all properties and values.- Parameters:
_interfaceName- The interface the properties is associated with.- Returns:
- The properties mapped to their values.
-
-