public class FormatsQuery extends Query
NativeObject.Initializer
GTYPE_NAME
defaultInit, ownsHandle
Constructor and Description |
---|
FormatsQuery()
Constructs a new query object for querying formats of the stream.
|
FormatsQuery(NativeObject.Initializer init) |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the number of formats in this query.
|
Format |
getFormat(int index)
Gets a format at
index . |
List<Format> |
getFormats()
Gets all formats in this query.
|
void |
setFormats(Format... formats)
Sets the formats 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 FormatsQuery()
public FormatsQuery(NativeObject.Initializer init)
public void setFormats(Format... formats)
formats
- the formats to set.public int getCount()
public Format getFormat(int index)
index
.index
- the index of the format to retrieve.Copyright © 2016. All rights reserved.