ru.dgis.sdk.directory.ContactInfo | Android SDK | 2GIS Documentation
Android SDK

ContactInfo

A way to contact the organization.

ContactInfo(
	type: String,
	displayText: String,
	value: String,
	comment: String?
)

A way to contact the organization.

Parameters
type
displayText
value
comment
Returns
Properties

Contact type. One of the following:

  • Email,
  • Website,
  • Phone number,
  • Fax,
  • Pobox,
  • icq,
  • Jabber,
  • Skype,
  • VKontakte,
  • Twitter,
  • Odnoklassniki,
  • YouTube,
  • LinkedIn,
  • GooglePlus,
  • Pinterest,
  • WhatsApp,
  • Viber,
  • Telegram

Contact value to display.

The technical value of the contact. Depending on the type of a contact, it has the following semantics:

  • Email — an Email address
  • Website — a full URL of a website
  • Phone number — phone number in an international format, for example,"+73831234567",
  • fax number — fax number in an international format, for example,"+73831234567",
  • Pobox — a post office box
  • ICQ — an ICQ user ID,
  • Jabber — a Jabber user ID,
  • Skype — a Skype user ID,
  • VKontakte — a full URL to a profile,
  • Twitter — a full URL to a profile,
  • Odnoklassniki — a full URL to a profile,
  • YouTube — a full URL to a profile,
  • LinkedIn — a full URL to a profile,
  • GooglePlus — a full URL to a profile,
  • Pinterest — a full URL to a profile,
  • WhatsApp — a full URL to a contact
  • Viber — a full URL to a contact,
  • Telegram — a full URL to a contact.

Clarifying information about the contact.