Registry.checkFeatureVersion

Checks whether a plugin feature by the given name exists in @registry and whether its version is at least the version required.

class Registry
bool
checkFeatureVersion
(,,,)

Parameters

featureName string

the name of the feature (e.g. "oggdemux")

minMajor uint

the minimum major version number

minMinor uint

the minimum minor version number

minMicro uint

the minimum micro version number

Return Value

Type: bool

%TRUE if the feature could be found and the version is the same as the required version or newer, and %FALSE otherwise.

Meta