Package org.gnome.gio
Enum Class DBusSignalFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<DBusSignalFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum DBusSignalFlags
extends Enum<DBusSignalFlags>
implements Enumeration
Flags used when subscribing to signals via g_dbus_connection_signal_subscribe().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMatch first arguments that contain a bus or interface name with the given namespace.Match first arguments that contain an object path that is either equivalent to the given path, or one of the paths is a subpath of the other.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 DBusSignalFlags classint
getValue()
Get the numeric value of this enumstatic DBusSignalFlags
of
(int value) Create a new DBusSignalFlags for the provided valuestatic DBusSignalFlags
Returns the enum constant of this class with the specified name.static DBusSignalFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No flags set. -
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). -
MATCH_ARG0_NAMESPACE
Match first arguments that contain a bus or interface name with the given namespace. -
MATCH_ARG0_PATH
Match first arguments that contain an object path that is either equivalent to the given path, or one of the paths is a subpath of the other.
-
-
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 DBusSignalFlags 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
-