kaios-types
    Preparing search index...

    Interface mozContact

    JSImplementation: "@mozilla.org/contact;1"

    Permissions: "contacts-read contacts-write contacts-create"

    interface mozContact {
        additionalName: string[] | null;
        adr: ContactAddress[] | null;
        anniversary: Date | null;
        bday: Date | null;
        category: string[] | null;
        email: ContactField[] | null;
        familyName: string[] | null;
        genderIdentity: string | null;
        givenName: string[] | null;
        honorificPrefix: string[] | null;
        honorificSuffix: string[] | null;
        id: string;
        impp: ContactField[] | null;
        jobTitle: string[] | null;
        key: string[] | null;
        name: string[] | null;
        nickname: string[] | null;
        note: string[] | null;
        org: string[] | null;
        phoneticFamilyName: string[] | null;
        phoneticGivenName: string[] | null;
        photo: Blob[] | null;
        published: Date | null;
        sex: string | null;
        tel: ContactTelField[] | null;
        updated: Date | null;
        url: ContactField[] | null;
        init(properties?: ContactProperties): void;
        setMetadata(id: string, published: Date | null, updated: Date | null): void;
        toJSON(): any;
    }
    Index

    Properties

    additionalName: string[] | null

    Additional names (middle names).

    adr: ContactAddress[] | null

    Addresses associated with the contact.

    anniversary: Date | null

    The anniversary date of the contact.

    bday: Date | null

    The birth date of the contact.

    category: string[] | null

    Categories or tags for the contact.

    email: ContactField[] | null

    Email addresses associated with the contact.

    familyName: string[] | null

    Family names (last names).

    genderIdentity: string | null

    The gender identity of the contact.

    givenName: string[] | null

    Given names (first names).

    honorificPrefix: string[] | null

    Honorific prefixes (e.g., Mr., Dr.).

    honorificSuffix: string[] | null

    Honorific suffixes (e.g., Jr., III).

    id: string

    The unique identifier of the contact.

    impp: ContactField[] | null

    Instant messaging profiles associated with the contact.

    jobTitle: string[] | null

    Job titles.

    key: string[] | null

    Public keys associated with the contact.

    name: string[] | null

    The contact's names.

    nickname: string[] | null

    Nicknames.

    note: string[] | null

    Notes about the contact.

    org: string[] | null

    Organizations the contact belongs to.

    phoneticFamilyName: string[] | null

    Phonetic representations of the family names.

    phoneticGivenName: string[] | null

    Phonetic representations of the given names.

    photo: Blob[] | null

    Photos associated with the contact.

    published: Date | null

    Date when the contact was published.

    sex: string | null

    The sex of the contact.

    tel: ContactTelField[] | null

    Telephone numbers associated with the contact.

    updated: Date | null

    Date when the contact was last updated.

    url: ContactField[] | null

    URLs associated with the contact.

    Methods

    • Sets metadata for the contact (Chrome only).

      Parameters

      • id: string

        The contact ID.

      • published: Date | null

        The published date.

      • updated: Date | null

        The updated date.

      Returns void