Confirmed users
324
edits
(→API) |
|||
Line 38: | Line 38: | ||
* Send an [http://en.wikipedia.org/wiki/Short_Message_Service MO (mobile originated) SMS] without storing it on the device's SMS database or requesting delivery status. | * Send an [http://en.wikipedia.org/wiki/Short_Message_Service MO (mobile originated) SMS] without storing it on the device's SMS database or requesting delivery status. | ||
* The SMS will not show any notifications and will not appear in any SMS application consuming the [https://wiki.mozilla.org/WebAPI/WebSMS WebSMS API]. | * The SMS will not show any notifications and will not appear in any SMS application consuming the [https://wiki.mozilla.org/WebAPI/WebSMS WebSMS API]. | ||
* The number must be a short code that does not charge the user. | |||
*/ | */ | ||
DOMRequest sendSilentSms(in DOMString number, in DOMString message); | DOMRequest sendSilentSms(in DOMString number, in DOMString message); | ||
Line 43: | Line 44: | ||
/** | /** | ||
* Intercept any incoming MT (mobile terminated) SMS sent from the given number. | * Intercept any incoming MT (mobile terminated) SMS sent from the given number. | ||
* The number must be a short code that does not charge the user. | |||
*/ | */ | ||
void observeSilentSms(in DOMString number, in jsval callback); | void observeSilentSms(in DOMString number, in jsval callback); |