Package org.freedesktop.gstreamer.gst
Enum Class CoreError
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<CoreError>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum CoreError
extends Enum<CoreError>
implements Enumeration
Core errors are errors inside the core GStreamer library.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionused for caps-related errors.used for clock related errors.used if functionality has been disabled at compile time.used for event-related errors.a general error which doesn't fit in any other category.used if a plugin is missing.used for negotiation-related errors.use this when you do not want to implement this functionality yet.the number of core error types.used for pad-related errors.used for seek-related errors.used for state change errors.used for negotiation-related errors.used for thread-related errors.do not use this except as a placeholder for deciding where to go while developing code. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the CoreError classint
getValue()
Get the numeric value of this enumstatic CoreError
of
(int value) Create a new CoreError for the provided valuestatic Quark
quark()
static CoreError
Returns the enum constant of this class with the specified name.static CoreError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAILED
a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. -
TOO_LAZY
do not use this except as a placeholder for deciding where to go while developing code. -
NOT_IMPLEMENTED
use this when you do not want to implement this functionality yet. -
STATE_CHANGE
used for state change errors. -
PAD
used for pad-related errors. -
THREAD
used for thread-related errors. -
NEGOTIATION
used for negotiation-related errors. -
EVENT
used for event-related errors. -
SEEK
used for seek-related errors. -
CAPS
used for caps-related errors. -
TAG
used for negotiation-related errors. -
MISSING_PLUGIN
used if a plugin is missing. -
CLOCK
used for clock related errors. -
DISABLED
used if functionality has been disabled at compile time. -
NUM_ERRORS
the number of core error types.
-
-
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 CoreError for the provided value- Parameters:
value
- the enum value- Returns:
- the enum 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
-
quark
-