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
statuschangeevent; 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
MozVoicemailStatusobject indicating the current voicemail status of a specified service, ornullwhen the status is unknown. MozVoicemail.getNumber()- Return a string indicating the voicemail box dialing number of a specified service, or
nullif none was found. MozVoicemail.getDisplayName()- Return a string representing the display name of the voicemail box dialing number of a specified service, or
nullif none was found.
Specification
Not part of any specification yet.