Your Search Results

    MozMmsMessage

    This article is in need of a technical review.

    « DOM Reference

    Non-standard
    This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

    This API is available on Firefox OS for certified 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.type Read only
    A string with the value mms.
    MozMmsMessage.id Read only
    Returns a number representing the id of the message.
    MozMmsMessage.threadId Read only
    Returns a number representing the id of the thread the message is part of.
    MozMmsMessage.subject Read only
    Returns a DOMString representing the subject of the message.
    MozMmsMessage.smil Read only
    Returns a DOMString representing the SMIL content of the message.
    MozMmsMessage.attachments Read only
    Returns an array of objects representing the attachment necessary to the SMIL content. Those objects contain an id, a location, and a content which is a Blob.
    MozMmsMessage.expiryDate Read only
    Returns a Date object representing the expiry date for an MMS to be manully downloaded.
    MozMmsMessage.delivery Read only
    Returns a DOMString which represents the state of the message delivery on the device point of view
    MozMmsMessage.deliveryStatus Read only
    Returns a Array of DOMString which represents the state of the message delivery on the receivers point of view
    MozMmsMessage.read Read only
    Returns a Boolean indicating whether a message is read or unread.
    MozMmsMessage.receivers Read only
    Returns an array of DOMString with the phone numbers of each receiver.
    MozMmsMessage.sender Read only
    Returns a DOMString with the name of the sender.
    MozMmsMessage.timestamp Read only
    Returns a Date object 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 Not supported Not supported Not supported Not supported Not supported
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported 12.0 (12.0) Moz Not supported Not supported Not supported

    See also

    Document Tags and Contributors

    Contributors to this page: kscarfone, teoli, Jeremie
    Last updated by: Jeremie,