Enum Class DBusProxyFlags

java.lang.Object
java.lang.Enum<DBusProxyFlags>
org.gnome.gio.DBusProxyFlags
All Implemented Interfaces:
Serializable, Comparable<DBusProxyFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum DBusProxyFlags extends Enum<DBusProxyFlags> implements Enumeration
Flags used when constructing an instance of a GDBusProxy derived class.
Since:
2.26
  • Enum Constant Details

    • NONE

      public static final DBusProxyFlags NONE
      No flags set.
    • DO_NOT_LOAD_PROPERTIES

      public static final DBusProxyFlags DO_NOT_LOAD_PROPERTIES
      Don't load properties.
    • DO_NOT_CONNECT_SIGNALS

      public static final DBusProxyFlags DO_NOT_CONNECT_SIGNALS
      Don't connect to signals on the remote object.
    • DO_NOT_AUTO_START

      public static final DBusProxyFlags DO_NOT_AUTO_START
      If the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization or a method call. This flag is only meaningful in proxies for well-known names.
    • GET_INVALIDATED_PROPERTIES

      public static final DBusProxyFlags GET_INVALIDATED_PROPERTIES
      If set, the property value for any invalidated property will be (asynchronously) retrieved upon receiving the PropertiesChanged D-Bus signal and the property will not cause emission of the GDBusProxy::g-properties-changed signal. When the value is received the GDBusProxy::g-properties-changed signal is emitted for the property along with the retrieved value. Since 2.32.
    • DO_NOT_AUTO_START_AT_CONSTRUCTION

      public static final DBusProxyFlags DO_NOT_AUTO_START_AT_CONSTRUCTION
      If the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization, but allow it to be autostarted by a method call. This flag is only meaningful in proxies for well-known names, and only if DO_NOT_AUTO_START is not also specified.
    • NO_MATCH_RULE

      public static final DBusProxyFlags NO_MATCH_RULE
      Don't actually send the AddMatch D-Bus call for this signal subscription. This gives you more control over which match rules you add (but you must add them manually). (Since: 2.72)
  • Method Details

    • values

      public static DBusProxyFlags[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DBusProxyFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<DBusProxyFlags> of(int flags)
      Create a new EnumSet<DBusProxyFlags> for the provided bitfield
      Parameters:
      flags - the DBusProxyFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<DBusProxyFlags> of(MemorySegment address)
      Create a new EnumSet<DBusProxyFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the DBusProxyFlags class.
      Returns:
      the GType