WebSMS

  • Revision slug: API/WebSMS
  • Revision title: WebSMS
  • Revision id: 24342
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment 7 words added

Revision Content

WebSMS is an API that makes it possible for web content to create, send, and receive Short Message Service (SMS) text messages.

The API is available using {{ domxref("window.navigator.mozSms") }} which returns a {{ domxref("SmsManager") }} object. See below for a full list of interfaces:

DOM interfaces

  • {{ domxref("SmsManager") }}
  • {{ domxref("SmsRequest") }}
  • {{ domxref("SmsMessage") }}
  • {{ domxref("SmsEvent") }}
  • {{ domxref("SmsFilter") }}
  • {{ domxref("SmsCursor") }}

Interfaces

  • {{ interface("nsISmsDatabaseService") }}
  • {{ interface("nsISmsRequestManager") }}
  • {{ interface("nsISmsService") }}

Sample code and introduction

See also

Revision Source

<p>WebSMS is an API that makes it possible for web content to create, send, and receive Short Message Service (SMS) text messages.</p>
<p>The API is available using {{ domxref("window.navigator.mozSms") }} which returns a {{ domxref("SmsManager") }} object. See below for a full list of interfaces:</p>
<h2>DOM interfaces</h2>
<ul> <li>{{ domxref("SmsManager") }}</li> <li>{{ domxref("SmsRequest") }}</li> <li>{{ domxref("SmsMessage") }}</li> <li>{{ domxref("SmsEvent") }}</li> <li>{{ domxref("SmsFilter") }}</li> <li>{{ domxref("SmsCursor") }}</li>
</ul>
<h2>Interfaces</h2>
<ul> <li>{{ interface("nsISmsDatabaseService") }}</li> <li>{{ interface("nsISmsRequestManager") }}</li> <li>{{ interface("nsISmsService") }}</li>
</ul>
<h2>Sample code and introduction</h2>
<ul> <li><a href="/en/API/WebSMS/Introduction_to_WebSMS">Introduction to WebSMS</a></li>
</ul>
<h2 class="note">See also</h2>
<ul> <li><a class="link-https" href="https://wiki.mozilla.org/WebAPI/WebSMS" title="https://wiki.mozilla.org/WebAPI/WebSMS">WebSMS API</a> (design document)</li>
</ul>
Revert to this revision