new AxModuleDispatcher()
Creates a new module dispatcher.
This is a virtual prototype meant to be inherited by overrideing its methods
- Source:
Methods
CreateObject()
Creates an instance of the dispatched object.
- Source:
GetInfo(infoId, infoTag, info) → {Boolean}
Requests information about the dispatched object. The requested is specified by the infoId parameter, and depending on it, the infoTag parameter may have to be used. If the requested information is availabe, it is filled in the info parameter and the method returns true, otherwise returns false.
Parameters:
Name | Type | Description |
---|---|---|
infoId |
Integer | Specifies what information is requested |
infoTag |
Integer | An additional parameter, used for some infoIds. Depending on which infoId is used, the infoTag may or may not have a specific meaning. |
info |
AxString | A string in which the requested information will be returned |
- Source:
Returns:
True if the requested information is available and returned in the info parameter, false otherwise
- Type
- Boolean
IsFeatureSupported(featureInfoId, featureName, ignoreCasenon-null) → {Boolean}
Checks whether a given feature is supported, by the checked feature's id and the name of the feature
For example, to check if a given serialization format is supported, the method should be provided with the infoId_MediaSerializationFormatExtension as featureInfoId and the name of the format's extension as featureName. In this example, the ignoreCase parameter would best be set to true
Parameters:
Name | Type | Description |
---|---|---|
featureInfoId |
Integer | The id of the type of feature which is to be checked |
featureName |
AxString | The name of the feature which is to be checked |
ignoreCase |
Boolean | Denotes whether to compare the featureName case-insesitively |
- Source:
Returns:
True if the feature is supported
- Type
- Boolean