Interface DBus.Properties

  • All Superinterfaces:
    org.freedesktop.dbus.DBusInterface
    Enclosing interface:
    DBus

    public static interface DBus.Properties
    extends org.freedesktop.dbus.DBusInterface
    A standard properties interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <A> A Get​(String interface_name, String property_name)
      Get the value for the given property.
      Map<String,​org.freedesktop.dbus.Variant> GetAll​(String interface_name)
      Get all properties and values.
      <A> void Set​(String interface_name, String property_name, A value)
      Set the value for the given property.
      • Methods inherited from interface org.freedesktop.dbus.DBusInterface

        isRemote
    • Method Detail

      • Get

        <A> A Get​(String interface_name,
                  String property_name)
        Get the value for the given property.
        Parameters:
        interface_name - The interface this property is associated with.
        property_name - The name of the property.
        Returns:
        The value of the property (may be any valid DBus type).
      • Set

        <A> void Set​(String interface_name,
                     String property_name,
                     A value)
        Set the value for the given property.
        Parameters:
        interface_name - The interface this property is associated with.
        property_name - The name of the property.
        value - The new value of the property (may be any valid DBus type).
      • GetAll

        Map<String,​org.freedesktop.dbus.Variant> GetAll​(String interface_name)
        Get all properties and values.
        Parameters:
        interface_name - The interface the properties is associated with.
        Returns:
        The properties mapped to their values.