Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 748337 of MozSmsEvent

  • Revision slug: Web/API/MozSmsEvent
  • Revision title: MozSmsEvent
  • Revision id: 748337
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment

Revision Content

{{APIRef("Firefox OS")}}

{{ non-standard_header() }}

{{ B2GOnlyHeader2('certified') }}

Summary

The DOM MozSmsEvent represents events related to WebSMS text messages.

Properties

{{domxref("MozSmsEvent.message")}} {{readonlyinline}}
An {{ domxref("MozSmsMessage") }} from which the event originated.

MozSmsEvent also inherite properties from {{domxref("Event")}}

{{page("/en-US/docs/Web/API/Event","Properties")}}

Methods

MozSmsEvent inherite methods from {{domxref("Event")}}

{{page("/en-US/docs/Web/API/Event","Methods")}}

Events

The MozSmsEvent is used for the following events:

{{event("deliverysuccess")}}
Fired whenever an SMS is delivered to a recipient.
{{event("received")}}
Fired whenever an SMS is received.
{{event("sent")}}
Fired whenever an SMS is sent.

Specifications

This is a non standard implementation, but it is discussed at W3C as part of the System Application Working Group.

Specification Status Comment
{{SpecName('Messaging')}} {{Spec2('Messaging')}} Editor Draft (WIP).

Browser compatibility

For obvious reasons, support is primarily expected on mobile browsers.

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatNo() }} {{ CompatGeckoMobile("12.0") }} {{property_prefix("Moz")}} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}

See also

  • {{ domxref("window.navigator.mozSms") }}
  • {{ domxref("MozSmsManager") }}
  • {{ domxref("MozSmsMessage") }}

Revision Source

<p>{{APIRef("Firefox OS")}}</p>

<p>{{ non-standard_header() }}</p>

<p>{{ B2GOnlyHeader2('certified') }}</p>

<h2 id="Summary">Summary</h2>

<p>The DOM <code>MozSmsEvent</code> represents events related to WebSMS text messages.</p>

<h2 id="Properties">Properties</h2>

<dl>
 <dt>{{domxref("MozSmsEvent.message")}} {{readonlyinline}}</dt>
 <dd>An {{ domxref("MozSmsMessage") }} from which the event originated.</dd>
</dl>

<p><code>MozSmsEvent</code> also inherite properties from {{domxref("Event")}}</p>

<p>{{page("/en-US/docs/Web/API/Event","Properties")}}</p>

<h2 id="Methods">Methods</h2>

<p><code>MozSmsEvent</code> inherite methods from {{domxref("Event")}}</p>

<p>{{page("/en-US/docs/Web/API/Event","Methods")}}</p>

<h2 id="Events">Events</h2>

<p>The <code>MozSmsEvent</code> is used for the following events:</p>

<dl>
 <dt>{{event("deliverysuccess")}}</dt>
 <dd>Fired whenever an SMS is delivered to a recipient.</dd>
 <dt>{{event("received")}}</dt>
 <dd>Fired whenever an SMS is received.</dd>
 <dt>{{event("sent")}}</dt>
 <dd>Fired whenever an SMS is sent.</dd>
</dl>

<h2 id="Specifications">Specifications</h2>

<p>This is a non standard implementation, but it is discussed at W3C as part of the <a href="https://www.w3.org/2012/sysapps/" title="https://www.w3.org/2012/sysapps/">System Application Working Group</a>.</p>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('Messaging')}}</td>
   <td>{{Spec2('Messaging')}}</td>
   <td>Editor Draft (WIP).</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>For obvious reasons, support is primarily expected on mobile browsers.</p>

<p>{{ CompatibilityTable() }}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatGeckoMobile("12.0") }} {{property_prefix("Moz")}}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{ domxref("window.navigator.mozSms") }}</li>
 <li>{{ domxref("MozSmsManager") }}</li>
 <li>{{ domxref("MozSmsMessage") }}</li>
</ul>
Revert to this revision