Interface Contact

Index

Properties

Methods

Properties

public addresses: ContactAddress[]

public birthday: Date

public categories: ContactField[]

public displayName: string

public emails: ContactField[]

public id: string

public ims: ContactField[]

public name: ContactName

public nickname: string

public note: string

public organizations: ContactOrganization[]

public phoneNumbers: ContactField[]

public photos: ContactField[]

public urls: ContactField[]

Methods

public clone(): Contact

Returns

Contact

public remove(onSuccess?: (contacts: Contacts) => void, onError?: (contactError: ContactError) => void)

Parameters

  • onSuccess?: (contacts: Contacts) => void optional
  • onError?: (contactError: ContactError) => void optional

public save(onSuccess?: (contacts: Contacts) => void, onError?: (contactError: ContactError) => void)

Parameters

  • onSuccess?: (contacts: Contacts) => void optional
  • onError?: (contactError: ContactError) => void optional