PersonNameComponents

data class PersonNameComponents(val namePrefix: String? = null, val givenName: String? = null, val middleName: String? = null, val familyName: String? = null, val nameSuffix: String? = null, val nickname: String? = null)

Constructors

Link copied to clipboard
constructor(builder: PersonNameComponents.Builder)
constructor(namePrefix: String? = null, givenName: String? = null, middleName: String? = null, familyName: String? = null, nameSuffix: String? = null, nickname: String? = null)

Types

Link copied to clipboard
class Builder(var namePrefix: String? = null, var givenName: String? = null, var middleName: String? = null, var familyName: String? = null, var nameSuffix: String? = null, var nickname: String? = null)

Properties

Link copied to clipboard
val familyName: String? = null
Link copied to clipboard
val givenName: String? = null
Link copied to clipboard
val middleName: String? = null
Link copied to clipboard
val namePrefix: String? = null
Link copied to clipboard
val nameSuffix: String? = null
Link copied to clipboard
val nickname: String? = null

Functions

Link copied to clipboard
Link copied to clipboard
fun formatted(style: PersonNameComponents.FormatStyle = FormatStyle.LONG): String