Package org.freedesktop.gstreamer.gst
Enum Class FlowReturn
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<FlowReturn>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum FlowReturn
extends Enum<FlowReturn>
implements Enumeration
The result of passing data to a pad.
Note that the custom return values should not be exposed outside of the element scope.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionElements can use values starting from this (and lower) to define custom error codes.Pre-defined custom error code (define your custom error code to this to avoid compiler warnings).Pre-defined custom error code.Elements can use values starting from this (and higher) to define custom success codes.Pre-defined custom success code (define your custom success code to this to avoid compiler warnings).Pre-defined custom success code.Pad is EOS.Some (fatal) error occurred.Pad is flushing.Pad is not linked.Pad is not negotiated.This operation is not supported.Data passing was ok. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the FlowReturn classint
getValue()
Get the numeric value of this enumstatic FlowReturn
of
(int value) Create a new FlowReturn for the provided valuestatic FlowReturn
Returns the enum constant of this class with the specified name.static FlowReturn[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUSTOM_SUCCESS_2
Pre-defined custom success code. -
CUSTOM_SUCCESS_1
Pre-defined custom success code (define your custom success code to this to avoid compiler warnings). -
CUSTOM_SUCCESS
Elements can use values starting from this (and higher) to define custom success codes. -
OK
Data passing was ok. -
NOT_LINKED
Pad is not linked. -
FLUSHING
Pad is flushing. -
EOS
Pad is EOS. -
NOT_NEGOTIATED
Pad is not negotiated. -
ERROR
Some (fatal) error occurred. Element generating this error should post an error message using GST_ELEMENT_ERROR() with more details. -
NOT_SUPPORTED
This operation is not supported. -
CUSTOM_ERROR
Elements can use values starting from this (and lower) to define custom error codes. -
CUSTOM_ERROR_1
Pre-defined custom error code (define your custom error code to this to avoid compiler warnings). -
CUSTOM_ERROR_2
Pre-defined custom error code.
-
-
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 FlowReturn 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
-