Package org.gnome.gio
Enum Class DBusProxyFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<DBusProxyFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum DBusProxyFlags
extends Enum<DBusProxyFlags>
implements Enumeration
Flags used when constructing an instance of a
GDBusProxy
derived class.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization or a method call.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.Don't connect to signals on the remote object.Don't load properties.If set, the property value for any __invalidated property__ will be (asynchronously) retrieved upon receiving thePropertiesChanged
D-Bus signal and the property will not cause emission of theGDBusProxy
::g-properties-changed signal.Don't actually send the AddMatch D-Bus call for this signal subscription.No flags set. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the DBusProxyFlags classint
getValue()
Get the numeric value of this enumstatic DBusProxyFlags
of
(int value) Create a new DBusProxyFlags for the provided valuestatic DBusProxyFlags
Returns the enum constant of this class with the specified name.static DBusProxyFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No flags set. -
DO_NOT_LOAD_PROPERTIES
Don't load properties. -
DO_NOT_CONNECT_SIGNALS
Don't connect to signals on the remote object. -
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
If set, the property value for any __invalidated property__ will be (asynchronously) retrieved upon receiving thePropertiesChanged
D-Bus signal and the property will not cause emission of theGDBusProxy
::g-properties-changed signal. When the value is received theGDBusProxy
::g-properties-changed signal is emitted for the property along with the retrieved value. Since 2.32. -
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 ifDO_NOT_AUTO_START
is not also specified. -
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
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
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 nameNullPointerException
- if the argument is null
-
of
Create a new DBusProxyFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-