Interface ContactPhone

A phone number entry of a contact.

type is a stable, lowercase string. "mobile", "home", "work", "main", "fax_home", "fax_work", "other_fax", "pager", "other" and "custom" are shared across platforms. "callback", "car", "company_main", "isdn", "radio", "telex", "tty_tdd", "work_mobile", "work_pager", "assistant" and "mms" are Android only.

When type === "custom", customLabel carries the user-defined label. A platform-specific value passed to createContact on the other platform is preserved as a custom label rather than dropped, so the value survives a cross-platform round trip.

normalizedNumber is populated on Android when the system provides an E.164-normalized value. iOS does not expose a normalized form, so the field is always null there.

Hierarchy

  • ContactPhone

Properties

number: string
type: string
normalizedNumber?: null | string
customLabel?: null | string

Generated using TypeDoc