public class SeekingQuery extends Query
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstQuery.html#gst-query-new-seeking
Query.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
SeekingQuery(Format format)
Constructs a new query object for querying seeking properties of the
stream.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd()
Gets the end of the segment.
|
Format |
getFormat()
Gets the
Format of the start and end values for the segment. |
long |
getStart()
Gets the start of the segment.
|
boolean |
isSeekable()
Checks if the stream is seekable.
|
void |
setSeeking(Format format,
boolean seekable,
long start,
long end)
Sets the seeking query result fields.
|
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic void setSeeking(Format format, boolean seekable, long start, long end)
format - the format to set for the start and end
values.seekable - the seekable flag to setstart - the start of the segment.end - the end of the segment.public boolean isSeekable()
true if the stream is seekable.public Format getFormat()
Format of the start and end values for the segment.public long getStart()
public long getEnd()
Copyright © 2021 gstreamer-java. All rights reserved.