Package org.freedesktop.gstreamer.gst
Enum Class BinFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<BinFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum BinFlags
extends Enum<BinFlags>
implements Enumeration
GstBinFlags are a set of flags specific to bins. Most are set/used
internally. They can be checked using the GST_OBJECT_FLAG_IS_SET() macro,
and (un)set using GST_OBJECT_FLAG_SET() and GST_OBJECT_FLAG_UNSET().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe last enum in the series of flags for bins.Don't resync a state change when elements are added or linked in the binIndicates whether the bin can handle elements that add/remove source pads at any point in time without first posting a no-more-pads signal. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the BinFlags classint
getValue()
Get the numeric value of this enumstatic BinFlags
of
(int value) Create a new BinFlags for the provided valuestatic BinFlags
Returns the enum constant of this class with the specified name.static BinFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_RESYNC
Don't resync a state change when elements are added or linked in the bin -
STREAMS_AWARE
Indicates whether the bin can handle elements that add/remove source pads at any point in time without first posting a no-more-pads signal. -
LAST
The last enum in the series of flags for bins. Derived classes can use this as first value in a list of flags.
-
-
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 BinFlags 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
-