VCard
Object that represents a vCard
Each vCard is required to have at least one FN property so the value for the first FN property can be directly passed through this constructor.
val arthur = VCard("Arthur Dent")
If no value is passed then no FN property is added to the vCard. In this case the FN property is added during the export to be a valid vCard.
val emptyCard = VCard()
The FN property could also be added later.
val arthur = VCard()
.property(Fn("Arthur Dent"))
To simplify the creation of vCard objects with properties the property method can also be chained:
val arthur = VCard()
.property(Fn("Arthur Dent"))
.property(N("Dent", "Arthur", "Philip")
.property(Categories("human", "male"))
Parameters
the value for the first FN property
Constructors
Functions
Convenience method to get have a quick and easy method to get a human-readable name of this card. If the Property "N" is present a Name is build based on the values. The Order of the given and family names can be chosen by the parameter ```easternNameOrder``. If this parameter is set to true, the family names are put before the given names.