B2G OS

MozContact.name

This API is available on Firefox OS for privileged or certified applications only.

The name property is a list of all the possible names use to identify the contact. It's equivalent to the FN vCard's attribute.

Syntax

var names = instanceOfMozContact.name

Value

Return an Array of strings.

Specifications

Specification Status Comment
Contacts Manager API
The definition of 'ContactName.additionalNames' in that specification.
Working Draft First Working Draft (unstable)
vCard Format Specification
The definition of 'Contact.FN' in that specification.
IETF RFC RFC 6350

Browser compatibility

Supported in Firefox OS 1.0.1.

See also

Document Tags and Contributors

 Contributors to this page: fscholz, chrisdavidmills, Sebastianz, MHasan, kscarfone, Jeremie
 Last updated by: fscholz,