public class SeekingQuery extends Query
NativeObject.Initializer
GTYPE_NAME
defaultInit, 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, makeWritable
disposeNativeHandle, isWritable, makeWritable, ref, unref
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toString
public 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()
Copyright © 2016. All rights reserved.