public enum SeekType extends java.lang.Enum<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 |
---|
CUR
Change relative to current position.
|
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 |
---|---|
static SeekType |
valueOf(java.lang.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.
|
public static final SeekType NONE
public static final SeekType CUR
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null