public enum SeekType extends Enum<SeekType> implements NativeEnum<SeekType>
When constructing a seek event with gst_event_new_seek(), a format, a seek method and optional flags are to be provided. The seek event is then inserted into the graph with gst_pad_send_event() or gst_element_send_event().
| Enum Constant and Description |
|---|
END
Relative position to duration is requested.
|
NONE
No change in position is required.
|
SET
Absolute position is requested.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static SeekType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeekType[] |
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 SeekType NONE
public static final SeekType SET
public static final SeekType END
public static SeekType[] values()
for (SeekType c : SeekType.values()) System.out.println(c);
public static SeekType 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<SeekType>Copyright © 2021 gstreamer-java. All rights reserved.