public class PluginFeature extends GstObject
Plugin
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 |
GObject.GCallback, GObject.NOTIFY
NativeObject.Initializer
Modifier and Type | Field and Description |
---|---|
static String |
GTYPE_NAME |
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.
|
String |
getName()
Gets the name of a plugin feature.
|
int |
getRank()
Gets the rank of a plugin feature.
|
boolean |
setName(String name)
Sets the name of a plugin feature.
|
void |
setRank(int rank)
Set the rank for the plugin feature.
|
void |
setRank(PluginFeature.Rank rank) |
String |
toString() |
addListenerProxy, getParent, initializer, initializer, ref, removeListenerProxy, steal, unref
addCallback, connect, connect, connect, connect, disconnect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, getType, getTypeName, invalidate, listPropertyNames, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public static final String GTYPE_NAME
public PluginFeature(NativeObject.Initializer init)
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)
public int getRank()
public boolean checkVersion(int major, int minor, int micro)
major
- Minimum required major versionminor
- Minimum required minor versionmicro
- Minimum required micro versionCopyright © 2016. All rights reserved.