This API is available on Firefox OS for internal applications only.
Summary
The DOM MozMmsMessage object represents an MMS message and has all the information about sender, recipient, body content, attachements, and date of the message itself.
Properties
MozMmsMessage.typeRead only- A string with the value
mms. MozMmsMessage.idRead only- Returns a number representing the id of the message.
MozMmsMessage.threadIdRead only- Returns a number representing the
idof the thread the message is part of. MozMmsMessage.subjectRead only- Returns a
DOMStringrepresenting the subject of the message. MozMmsMessage.smilRead only- Returns a
DOMStringrepresenting the SMIL content of the message. MozMmsMessage.attachmentsRead only- Returns an array of objects representing the attachment necessary to the SMIL content. Those objects contain an
id, alocation,and acontentwhich is aBlob. MozMmsMessage.expiryDateRead only- Returns a
Dateobject representing the expiry date for an MMS to be manully downloaded. MozMmsMessage.deliveryRead only- Returns a
DOMStringwhich represents the state of the message delivery on the device point of view MozMmsMessage.deliveryStatusRead only- Returns a
ArrayofDOMStringwhich represents the state of the message delivery on the receivers point of view MozMmsMessage.readRead only- Returns a Boolean indicating whether a message is read or unread.
MozMmsMessage.receiversRead only- Returns an array of
DOMStringwith the phone numbers of each receiver. MozMmsMessage.senderRead only- Returns a
DOMStringwith the name of the sender. MozMmsMessage.timestampRead only- Returns a
Dateobject with the timestamp of the message.
Specifications
This is a nonstandard implementation, but it is discussed at W3C as part of the System Application Working Group.
| Specification | Status | Comment |
|---|---|---|
| Messaging API | Editor's Draft | Editor Draft (WIP). |
Browser compatibility
For obvious reasons, support is primarily expected on mobile browsers.
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | No support | No support | No support | No support | No support |
| Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | No support | 12.0 (12.0) Moz | No support | No support | No support |