public enum Format extends Enum<Format> implements NativeEnum<Format>
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/gstreamer-GstFormat.html#GstFormat
| Enum Constant and Description |
|---|
BUFFERS
Buffers (few, if any, elements implement this as of May 2009) |
BYTES
Bytes
|
DEFAULT
The default format of the pad/element.
|
PERCENT
Percentage of stream (few, if any, elements implement this as of May 2009)
|
TIME
Time in nanoseconds
|
UNDEFINED
Undefined format
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromInt, fromIntpublic static final Format UNDEFINED
public static final Format DEFAULT
TIME if you don't have a good reason to query for
samples/frames)public static final Format BYTES
public static final Format TIME
public static final Format BUFFERS
Buffers (few, if any, elements implement this as of May 2009)public static final Format PERCENT
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int intValue()
intValue in interface NativeEnum<Format>Copyright © 2021 gstreamer-java. All rights reserved.