ContactWriter

Responsible for converting the Contact data class (which is not version-specific) to the vCard that is actually sent to the server.

Properties which are not supported by the target vCard version have to be converted appropriately.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val vCard: VCard
Link copied to clipboard
val version: VCardVersion

Functions

Link copied to clipboard
fun addLabeledProperty(labeledProperty: LabeledProperty<*>)
Link copied to clipboard
fun <T : DateOrTimeProperty> rewritePartialDate(prop: T)
Link copied to clipboard
fun writeCard(stream: OutputStream, jCard: Boolean)

Validates and writes the vCard to an output stream.