public static enum AppSrc.StreamType extends Enum<AppSrc.StreamType> implements NativeEnum<AppSrc.StreamType>
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html#GstAppStreamType
| Enum Constant and Description |
|---|
RANDOM_ACCESS
The stream is seekable and seeking is fast, such as in a local file.
|
SEEKABLE
The stream is seekable but seeking might not be very fast, such as
data from a webserver.
|
STREAM
No seeking is supported in the stream, such as a live stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static AppSrc.StreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppSrc.StreamType[] |
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 AppSrc.StreamType STREAM
public static final AppSrc.StreamType SEEKABLE
public static final AppSrc.StreamType RANDOM_ACCESS
public static AppSrc.StreamType[] values()
for (AppSrc.StreamType c : AppSrc.StreamType.values()) System.out.println(c);
public static AppSrc.StreamType 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<AppSrc.StreamType>Copyright © 2021 gstreamer-java. All rights reserved.