Appspresso
Contact us   |
  • English
  • ABOUT
    • Overview
    • License
    • Roadmap
  • SHOWCASE
    • Featured Apps
    • Appspresso Features
    • Show off your app
  • DOWNLOAD
    • Download Appspresso
    • 3rd party libraries & frameworks
  • DEVELOPER CENTER
    • Getting Started
    • Tutorials
    • API Reference
    • API Samples
    • Appspresso Plug-in Development Kit
    • Google Groups

Interface AxPlugin

Interface Summary
Constructor Attributes Constructor Name and Description
 
AxPlugin(prefix)
javascript stub for appspresso plugin.

Method Summary

Method Attributes Method Name and Description
 
execAsync(method, successCallback, errorCallback, params)
call native plugin: async
 
execSync(method, params)
call native plugin: sync.
 
stopWatch(method, watchID)
stop watch and unreg watch func
 
watch(method, successCallback, errorCallback, params)
reg watch func.

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

    API Reference

    • Deviceapis
    • Devicestatus
    • Device Interaction
    • Contact
    • Accelerometer
    • Orientation
    • Geolocation
    • Camera
    • Messaging
    • Filesystem
    • Appspresso
      • ax
      • AxDef
      • AxPlugin
      • AxRequest
      • ax.bridge
      • ax.console
      • ax.util
    • Appspresso Extension
      • ax.ext.admob
      • ax.ext.android
      • ax.ext.contact
      • ax.ext.ios
      • ax.ext.ga
      • ax.ext.media
      • ax.ext.net
      • ax.ext.ui
      • ax.ext.zip
RSS
Twitter
© 2011 Appspresso.com . powered by Wordpress