Write, Bureaucrats, Administrators
4,332
edits
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 | :; 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 ==== |