public class TagList extends MiniObject
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstTagList.html
MiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Constructor and Description |
|---|
TagList()
Constructs a new empty tag list.
|
| Modifier and Type | Method and Description |
|---|---|
Number |
getNumber(String tag,
int index)
Gets a numeric tag from this list.
|
String |
getString(String tag,
int index)
Gets a string tag from this list.
|
List<String> |
getTagNames()
Gets a list of all the tags contained in this list.
|
Object |
getValue(String tag,
int index)
Gets data for a tag from this list.
|
int |
getValueCount(String tag)
Gets the number of values of type
tag stored in the list. |
List<Object> |
getValues(String tag)
Gets all data values for a tag contained in this list.
|
TagList |
merge(TagList list2,
TagMergeMode mode)
Merges this tag list and
list2 into a new list. |
copy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic static final String GTYPE_NAME
public int getValueCount(String tag)
tag stored in the list.tag - the name of the tag to get the size of.tag in this list.public List<Object> getValues(String tag)
tag - the name of the tag to retrieve.tag.public Object getValue(String tag, int index)
tag - the tag to retrieve.index - which element of the array of data for this tag to retrieve.public String getString(String tag, int index)
tag - the tag to retrieve.index - which element of the array of data for this tag to retrieve.public Number getNumber(String tag, int index)
tag - the tag to retrieve.index - which element of the array of data for this tag to retrieve.public List<String> getTagNames()
public TagList merge(TagList list2, TagMergeMode mode)
list2 into a new list. If list2
is null, a copy of this list is returned.list2 - the other tag list to merge with this one.mode - the TagMergeMode.Copyright © 2021 gstreamer-java. All rights reserved.