B2G OS

MozContact.id

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

The id property is a unique string representing the contact within the device's contact database.

Syntax

var id = instanceOfMozContact.id

Value

Return a string.

Specifications

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

Browser compatibility

Supported in Firefox OS 1.0.1.

See also

Document Tags and Contributors

Last updated by: fscholz,