Class Index | File Index

Classes


Class PhoneGap


Defined in: phonegap.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This represents the PhoneGap API itself, and provides a global namespace for accessing information about the state of PhoneGap.
Field Summary
Field Attributes Field Name and Description
<static>  
PhoneGap.available
Boolean flag indicating if the PhoneGap API is available and initialized.
Method Summary
Method Attributes Method Name and Description
<static>  
PhoneGap.addConstructor(func)
Add an initialization function to a queue that ensures it will run and initialize application constructors only once PhoneGap has been initialized.
<static>  
PhoneGap.exec(command, args)
Execute a PhoneGap command in a queued fashion, to ensure commands do not execute with any race conditions, and only run when PhoneGap is ready to recieve them.
Class Detail
PhoneGap()
This represents the PhoneGap API itself, and provides a global namespace for accessing information about the state of PhoneGap.
Field Detail
<static> PhoneGap.available
Boolean flag indicating if the PhoneGap API is available and initialized.
Method Detail
<static> PhoneGap.addConstructor(func)
Add an initialization function to a queue that ensures it will run and initialize application constructors only once PhoneGap has been initialized.
Parameters:
{Function} func
The function callback you want run once PhoneGap is initialized

<static> PhoneGap.exec(command, args)
Execute a PhoneGap command in a queued fashion, to ensure commands do not execute with any race conditions, and only run when PhoneGap is ready to recieve them.
Parameters:
{String} command
Command to be run in PhoneGap, e.g. "ClassName.method"
{String[]} args Optional
Zero or more arguments to pass to the method

Documentation generated by JsDoc Toolkit 2.1.0 on Tue May 05 2009 14:44:46 GMT-0700 (PDT)