Back

CreateSMS

Hello World
Content:
- Methods

Returns a new SMS object to send and retreive SMS messages.

sms = app.CreateSMS( ) → app object: SMS

ATTENTION: This function is available in the DS X-Versions only as it doesn't meet the GooglePlay security requirements. APKs built with X-Versions are for private use only.

Methods

The following methods are available on the SMS object:

GetType() → String: “SMS”
String
String: MultiPart
Object: { COMMAND }
function( message )
function( status )
sms.Batch
Batch method calls to be able to set all object's properties at once.
Note that you need to specify each parameter (use “” or null to leave some out)
Inherited methods can be called by appending an underscore to the function name (ie. txt.Batch({ SetBackColor_: [“red”] })
sms.GetType
Returns the control class name.
sms.Send
Send SMS message.
sms.SetOnMessage
Define a callback function which is called when the user received a SMS
sms.SetOnStatus
Define a callback function which is called when a status has changed.