public class GstInterface extends NativeValue
Modifier and Type | Class and Description |
---|---|
protected static interface |
GstInterface.ListElementCreator<E> |
Modifier and Type | Field and Description |
---|---|
protected Element |
element |
protected com.sun.jna.Pointer |
handle |
Modifier | Constructor and Description |
---|---|
protected |
GstInterface(Element element,
GType type) |
Modifier and Type | Method and Description |
---|---|
Element |
getElement() |
protected java.lang.Object |
nativeValue() |
protected <T extends GObject> |
objectList(GlibAPI.GList glist,
GstInterface.ListElementCreator<T> creator)
Build a
List of Object from the native GList. |
protected final com.sun.jna.Pointer handle
protected final Element element
protected java.lang.Object nativeValue()
nativeValue
in class NativeValue
public Element getElement()
protected <T extends GObject> java.util.List<T> objectList(GlibAPI.GList glist, GstInterface.ListElementCreator<T> creator)
List
of Object
from the native GList.glist
- The native list to get the objects from.creator
- The proxy class to wrap the list elements in.