setName

fun setName(name: Name?)

Sets (or clears) the contact's structured name (vcard:hasName).

The name parts are written to the fragment node {document}#name; passing null or a Name with no non-null components removes the node and its link entirely. Read back with getName.