MozVoicemail
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, ornull
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
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/mozvoicemail