MozVoicemail.getDisplayName()

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

Summary

The getDisplayName method is used to get the display name of the voicemail box dialing number of a specified service.

Syntax

JavaScript
var name = navigator.mozVoicemail.getDisplayName([serviceId]);

Properties

serviceId Optional
A number representing the voicemail service to access.

Returns

A string or null if no number 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/getdisplayname

API B2G Firefox OS Method Reference voicemail