ContactDataBuilder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var note: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var role: String?
Link copied to clipboard
Link copied to clipboard
var uid: String?

Functions

Link copied to clipboard
fun address(type: AddressType = AddressType.OTHER, block: AddressBuilder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
fun category(value: String)
Link copied to clipboard
fun email(address: String, type: EmailType = EmailType.OTHER)
Link copied to clipboard
fun geo(value: String)

Adds a vCard 4.0 GEO position (vcard:hasGeo). value is kept verbatim — a geo: URI (geo:37.386013,-122.082932) or a bare lat,lng pair, which the RDF codec prefixes with the geo: scheme on write.

Link copied to clipboard
fun impp(handle: String, type: ImType = ImType.OTHER)
Link copied to clipboard
fun language(tag: String)

Adds a vCard 4.0 LANG contact language (vcard:hasLanguage), a BCP-47 tag such as en or fa-IR. List order carries the vCard preference order. De-duplicated case-insensitively.

Link copied to clipboard
fun name(block: NameBuilder.() -> Unit)
Link copied to clipboard
fun phone(number: String, type: PhoneType = PhoneType.OTHER)
Link copied to clipboard
fun url(value: String, type: URLType)
Link copied to clipboard
fun webId(webId: String)