Your Search Results


    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 internal applications only.


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

    Interface overview

    interface MozVoicemail: EventTarget
      attribute EventHandler onstatuschanged;
      MozVoicemailStatus? getStatus(optional unsigned long serviceId);
      DOMString? getNumber(optional unsigned long serviceId);
      DOMString? getDisplayName(optional unsigned long serviceId);


    Event Handlers

    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.


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


    Not part of any specification yet.

    See also

    Document Tags and Contributors

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