public class SeekingQuery extends Query
NativeObject.InitializerdefaultInit, LIFECYCLE, ownsHandle| Constructor and Description |
|---|
SeekingQuery(Format format)
Constructs a new query object for querying seeking properties of the stream.
|
SeekingQuery(NativeObject.Initializer init) |
| 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.
|
getStructure, makeWritabledisposeNativeHandle, isWritable, makeWritable, ref, unrefclassFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toStringpublic SeekingQuery(NativeObject.Initializer init)
public 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()