public class PluginFeature extends GstObject
Plugin
This is a base class for anything that can be added to a Plugin.Plugin
GObject.GCallback
NativeObject.Initializer
defaultInit, ownsHandle
Constructor and Description |
---|
PluginFeature(NativeObject.Initializer init)
Creates a new instance of PluginFeature
|
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.
|
java.lang.String |
getName()
Gets the name of a plugin feature.
|
int |
getRank()
Gets the rank of a plugin feature.
|
boolean |
setName(java.lang.String name)
Sets the name of a plugin feature.
|
void |
setRank(int rank)
Set the rank for the plugin feature.
|
java.lang.String |
toString() |
addListenerProxy, getParent, initializer, initializer, ref, removeListenerProxy, steal, unref
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectForX, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public PluginFeature(NativeObject.Initializer init)
public java.lang.String getName()
public boolean setName(java.lang.String name)
public void setRank(int rank)
rank
- The rank value - higher number means more priority rankpublic int getRank()
public boolean checkVersion(int major, int minor, int micro)
major
- Minimum required major versionminor
- Minimum required minor versionmicro
- Minimum required micro version