public class PluginFeature extends GstObject
Plugin
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstPluginFeature.html
This is a base class for anything that can be added to a Plugin.
Plugin| Modifier and Type | Class and Description |
|---|---|
static class |
PluginFeature.Rank
Element priority ranks.
|
GstObject.HandleGObject.GCallback, GObject.GInterfaceNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkVersion(int major,
int minor,
int micro)
Checks whether the given plugin feature is at least the required version.
|
String |
getName()
Gets the name of a plugin feature.
|
Plugin |
getPlugin()
Get the plugin that provides this feature.
|
String |
getPluginName()
Get the name of the plugin that provides this feature.
|
int |
getRank()
Gets the rank of a plugin feature.
|
boolean |
setName(String name)
Sets the name of the plugin feature, getting rid of the old name if there
was one.
|
void |
setRank(int rank)
Set the rank for the plugin feature.
|
void |
setRank(PluginFeature.Rank rank)
Set the rank for the plugin feature.
|
String |
toString() |
addControlBinding, getAsString, getControlBinding, getParent, hasActiveControlBindings, removeControlBinding, setAsString, setControlBindingDisabled, setControlBindingsDisabled, suggestNextSync, syncValuesaddCallback, connect, connect, disconnect, dispose, emit, emit, get, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getRefCount, getTypeName, invalidate, listPropertyNames, removeCallback, setclose, disown, equals, getPointer, getRawPointer, hashCodepublic static final String GTYPE_NAME
public String getName()
public boolean setName(String name)
public void setRank(int rank)
rank - The rank value - higher number means more priority rankpublic void setRank(PluginFeature.Rank rank)
rank - The rank valuepublic int getRank()
public boolean checkVersion(int major,
int minor,
int micro)
major - Minimum required major versionminor - Minimum required minor versionmicro - Minimum required micro versionpublic String getPluginName()
public Plugin getPlugin()
Copyright © 2021 gstreamer-java. All rights reserved.