Namespace: kfxCordova

kfxCordova

we have declared the plugin name in plugin.xml file

Classes

kfxEngine
kfxLibLogistics
kfxUicontrols
kfxUtilities

Methods

(static) getAllVersions(successCallback, errorCallback)

this method is used to get all versions of sdk
Parameters:
Name Type Description
successCallback function Default Success Call back function name
errorCallback function Default Error call back function name
Returns:
The return value is captured in the 'successCallback' for a successful operation, and might return in 'errorCallback' for an incomplete/invalid operation. Returns the following values in the corresponding functions successCallback - success call back with ImageCapture Control ID errorCallback - error message would contain the appropriate error description.Possible error objects are KmcRuntimeException,Exception.
Example
function successCallback(response){
      alert(JSON.stringify(response));
}
function errorCallback(error){
      alert(JSON.stringify(error));
}
kfxCordova.getAllVersions(successCallback,errorCallback);

(static) getCordovaVersion()

this method is used to get the cordova version
Example
var cordovaVersion = kfxCordova.getCordovaVersion();

(static) getkfxPluginVersion()

this method is used to get the plugin version
Example
var pluginVersion = kfxCordova.getkfxPluginVersion();

(static) getLayoutProperties()

this method is used to get the layout properties
Example
var layoutProperties = kfxCordova.getLayoutProperties();

(static) getPointProperties()

this method is used to get the point object
Example
var point = kfxCordova.getPointProperties();