toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
design
/
edu.stanford.spezi.core.design.views.personalinfo
/
PersonNameComponents
Person
Name
Components
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
)
Members
Constructors
Person
Name
Components
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
Builder
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
)
Format
Style
Link copied to clipboard
enum
FormatStyle
:
Enum
<
PersonNameComponents.FormatStyle
>
Properties
family
Name
Link copied to clipboard
val
familyName
:
String
?
=
null
given
Name
Link copied to clipboard
val
givenName
:
String
?
=
null
middle
Name
Link copied to clipboard
val
middleName
:
String
?
=
null
name
Prefix
Link copied to clipboard
val
namePrefix
:
String
?
=
null
name
Suffix
Link copied to clipboard
val
nameSuffix
:
String
?
=
null
nickname
Link copied to clipboard
val
nickname
:
String
?
=
null
Functions
create
Builder
Link copied to clipboard
fun
createBuilder
(
)
:
PersonNameComponents.Builder
formatted
Link copied to clipboard
fun
formatted
(
style
:
PersonNameComponents.FormatStyle
=
FormatStyle.LONG
)
:
String