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

The type of the contact. One of the following:

  • email
  • website
  • phone
  • fax
  • pobox - P.O. box
  • 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 contact type, it has the following semantics:

  • email - email address
  • website - full URL
  • phone - phone number in international format, for example: "+73831234567"
  • fax - phone number in international format, for example: "+73831234567"
  • pobox - mailing address
  • icq - user ID
  • jabber - user ID
  • skype - user ID
  • vkontakte - full URL
  • twitter - full URL
  • odnoklassniki - full URL
  • youtube - full URL
  • linkedin - full URL
  • googleplus - full URL
  • pinterest - full URL
  • whatsapp - full URL
  • viber - full URL
  • telegram - full URL

Clarifying information about the contact.