public class FormatsQuery extends Query
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstQuery.html#gst-query-new-formats
FormatQuery.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
FormatsQuery()
Constructs a new query object for querying formats of the stream.
|
| 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.
|
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic FormatsQuery()
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 © 2021 gstreamer-java. All rights reserved.