Class Index | File Index

Classes


Class Sms


Defined in: phonegap.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Sms()
This class provides access to the device SMS functionality.
Method Summary
Method Attributes Method Name and Description
 
send(number, message, successCallback, errorCallback, options)
Sends an SMS message.
Class Detail
Sms()
This class provides access to the device SMS functionality.
Method Detail
send(number, message, successCallback, errorCallback, options)
Sends an SMS message.
Parameters:
{Integer} number
The phone number to send the message to.
{String} message
The contents of the SMS message to send.
{Function} successCallback
The function to call when the SMS message is sent.
{Function} errorCallback
The function to call when there is an error sending the SMS message.
{PositionOptions} options
The options for accessing the GPS location such as timeout and accuracy.

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