Interface AxPlugin
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
AxPlugin(prefix)
javascript stub for appspresso plugin.
|
Method Summary
Interface Detail
AxPlugin(prefix)
javascript stub for appspresso plugin.
use ax.plugin() to create an instance of this class.
use ax.isPlugin() to check an object is an instance of this class
- Parameters:
- {string} prefix
- See:
- ax.plugin
- ax.isPlugin
Method Detail
-
{AxRequest} execAsync(method, successCallback, errorCallback, params)call native plugin: async
- Parameters:
- {string} method
- {function} successCallback
- {function} errorCallback
- {array} params
- Returns:
- {AxRequest}
-
{*} execSync(method, params)call native plugin: sync.
- Parameters:
- {string} method
- {array} params
- Returns:
- {*}
-
stopWatch(method, watchID)stop watch and unreg watch func
- Parameters:
- {string} method
- {number} watchID
-
{number} watch(method, successCallback, errorCallback, params)reg watch func.
- Parameters:
- {string} method
- {function} successCallback
- {function} errorCallback
- {array} params
- Returns:
- {number} watchID
