• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. MozVoicemail

MozVoicemail

In This Article
  1. Properties
    1. Event Handlers
  2. Methods
  3. Specification
  4. See also

This API is available on Firefox OS for internal applications only.

The MozVoicemail interface allows access to the information regarding the voicemail features available through the RIL of a Firefox OS device.

Properties

Event Handlers

MozVoicemail.onstatuschanged
A handler for the statuschange event; it is triggered when the voicemail status has changed.

Note: Because the MozVoicemail interface inherits from the EventTarget interface, all these events can also be listened for by using the addEventListener method.

Methods

MozVoicemail.getStatus()
Return a MozVoicemailStatus object indicating the current voicemail status of a specified service, or null when the status is unknown.
MozVoicemail.getNumber()
Return a string indicating the voicemail box dialing number of a specified service, or null if none was found.
MozVoicemail.getDisplayName()
Return a string representing the display name of the voicemail box dialing number of a specified service, or null if none was found.

Specification

Not part of any specification yet.

See also

  • navigator.mozVoicemail

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • Firefox OS
  • Reference
  • voicemail
 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:09:03 AM
See also
  1. Archive
  2. Related pages for Voicemail API
    1. MozVoicemail
    2. MozVoicemailEvent
    3. MozVoicemailStatus