blob: 2b1ccd9f7f261cc663e5365d932d7fc0009dd273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
package at.bitfire.vcard4android.property
import ezvcard.parameter.EmailType
import ezvcard.parameter.RelatedType
import ezvcard.parameter.TelephoneType
/**
* Custom TYPE parameter definitions
*/
object CustomType {
const val HOME = "home"
const val WORK = "work"
object Email {
val MOBILE = EmailType.get("x-mobile")
}
object Nickname {
const val INITIALS = "x-initials"
const val MAIDEN_NAME = "x-maiden-name"
const val SHORT_NAME = "x-short-name"
}
object Phone {
val ASSISTANT = TelephoneType.get("x-assistant")!!
val CALLBACK = TelephoneType.get("x-callback")!!
val COMPANY_MAIN = TelephoneType.get("x-company_main")!!
val MMS = TelephoneType.get("x-mms")!!
val RADIO = TelephoneType.get("x-radio")!!
}
object Related {
val ASSISTANT = RelatedType.get("assistant")
val BROTHER = RelatedType.get("brother")
val DOMESTIC_PARTNER = RelatedType.get("domestic-partner")
val FATHER = RelatedType.get("father")
val MANAGER = RelatedType.get("manager")
val MOTHER = RelatedType.get("mother")
val PARTNER = RelatedType.get("partner")
val REFERRED_BY = RelatedType.get("referred-by")
val SISTER = RelatedType.get("sister")
val OTHER = RelatedType.get("other")
}
object Url {
const val TYPE_HOMEPAGE = "x-homepage"
const val TYPE_BLOG = "x-blog"
const val TYPE_PROFILE = "x-profile"
const val TYPE_FTP = "x-ftp"
}
}
|