• Skip to main content
  • Select language
  • Skip to search
mozilla
Mozilla Developer Network
  • Sign in
    • Persona
    • GitHub
  • Web Platform
    Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • APIs / DOM
    • Apps
    • MathML
    References & Guides
    • Learn the Web
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • ...more docs
  • Mozilla Docs
    • Add-ons
    • Firefox
    • Firefox Marketplace
    • Firefox OS
    • Persona
  • Developer Tools
  • Feedback
    • Get Firefox help
    • Get web development help
    • Join the MDN community
    • Report a content problem
    • Report a bug
  •  
B2G OS
    • 한국어
    • Add a translation
  • Edit
  • Advanced
    • History
    • Print this article
  1. MDN
  2. Mozilla
  3. B2G OS
  4. Firefox OS APIs
  5. MozMmsMessage
Your Search Results

    MozMmsMessage

    In This Article
    1. Summary
    2. Properties
    3. Specifications
    4. Browser compatibility
    5. See also

    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.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.

    • Desktop
    • Mobile
    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

    See also

    • window.navigator.mozMobileMessage
    • MozMobileMessageManager
    Share:
    • Twitter
    • Facebook
    • Google+

    Document Tags and Contributors

    Tags: 
    • API
    • B2G
    • Firefox OS
    • Mobile
    • Non-standard
    • Reference
    • Référence
    • WebSMS
     Contributors to this page: chrisdavidmills, teoli, fscholz, MHasan, Jeremie, kscarfone
     Last updated by: chrisdavidmills, Feb 11, 2016, 6:01:11 AM
    See also
    1. Mobile Messaging API
    2. MozMmsMessage
    3. Properties
      1. attachments
      2. delivery
      3. deliveryStatus
      4. expiryDate
      5. id
      6. read
      7. receivers
      8. sender
      9. smil
      10. subject
      11. threadId
      12. timestamp
      13. type
    4. Events
      1. open
      2. message
      3. error
      4. close
      5. sending
      6. sent
      7. failed
      8. deliverysuccess
      9. deliveryerror
      10. retrieving
      11. received
    5. Related pages for Mobile Messaging API
      1. MozMmsEvent
      2. MozMobileMessageManager
      3. MozMobileMessageThread
      4. MozSmsEvent
      5. MozSmsFilter
      6. MozSmsManager
      7. MozSmsMessage
      8. MozSmsSegmentInfo
      9. Navigator.mozMobileMessage
      10. Navigator.mozSMS

    © 2005-2016 Mozilla Developer Network and individual contributors.

    Content is available under these licenses.

    • About MDN
    • Terms
    • Privacy
    • Cookies
    • Contribute to the code

    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy