|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.MiniObject
org.gstreamer.Query
org.gstreamer.query.FormatsQuery
public class FormatsQuery
Used for querying formats of the stream.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject |
---|
org.gstreamer.lowlevel.NativeObject.Initializer |
Field Summary |
---|
Fields inherited from class org.gstreamer.lowlevel.NativeObject |
---|
defaultInit, LIFECYCLE, ownsHandle |
Constructor Summary | |
---|---|
FormatsQuery()
Constructs a new query object for querying formats of the stream. |
|
FormatsQuery(org.gstreamer.lowlevel.NativeObject.Initializer init)
|
Method Summary | |
---|---|
int |
getCount()
Gets the number of formats in this query. |
Format |
getFormat(int index)
Gets a format at index . |
java.util.List<Format> |
getFormats()
Gets all formats in this query. |
void |
setFormats(Format... formats)
Sets the formats query result fields. |
Methods inherited from class org.gstreamer.Query |
---|
getStructure, makeWritable |
Methods inherited from class org.gstreamer.MiniObject |
---|
disposeNativeHandle, isWritable, makeWritable, objectFor, ref, unref |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
---|
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, toString |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormatsQuery()
public FormatsQuery(org.gstreamer.lowlevel.NativeObject.Initializer init)
Method Detail |
---|
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.
public java.util.List<Format> getFormats()
List
of Format
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |