Triggers: Difference between revisions

Jump to navigation Jump to search
51 bytes added ,  30 December 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 590: Line 590:
:; hasNext(): Returns TRUE if there is a next JSContact object, otherwise FALSE
:; hasNext(): Returns TRUE if there is a next JSContact object, otherwise FALSE


:; next(): Returns the next JSContact object, if there is one. Only valid after calling hasNext() and receiving a TRUE result.
:; next(): Returns the next JSContact object, if there is one — only valid after calling hasNext() and receiving a TRUE result


:; show(): Opens the Contacts app for this contact
:; show(): Opens the Contacts app for this contact
Line 596: Line 596:
:; call(): If the device is a phone, calls the primary phone number of this contact
:; call(): If the device is a phone, calls the primary phone number of this contact


:; sendSMS(message): If the device is a phone, sends the provided ''message'' as an SMS message to the primary phone number of this contact
:; sendSMS(message): If the device is a phone, sends the provided '''''message''''' (text string) as an SMS message to the primary phone number of this contact


:; sendEmail(subject, message): Sends an email message to the primary email address of this contact, with subject ''subject'' and message ''message''.
:; sendEmail(subject, message): Sends an email message to the primary email address of this contact, with subject '''''subject''''' and message '''''message''''' (text string)


==== JSContact Properties ====
==== JSContact Properties ====

Navigation menu