AI-generated Key Takeaways
-
Barcode.PersonName represents a person's name, including both formatted and individual name components.
-
It provides methods to retrieve various parts of a name such as first name, last name, middle name, prefix, suffix, and pronunciation.
-
The
getFormattedNamemethod retrieves the complete, properly formatted name.
A person's name, both formatted version and individual name components.
Public Method Summary
| String |
getFirst()
Gets first name.
|
| String |
getFormattedName()
Gets the properly formatted name.
|
| String |
getLast()
Gets last name.
|
| String |
getMiddle()
Gets middle name.
|
| String |
getPrefix()
Gets prefix of the name.
|
| String |
getPronunciation()
Designates a text string to be set as the kana name in the phonebook.
|
| String |
getSuffix()
Gets suffix of the person's name.
|
Inherited Method Summary
Public Methods
public String getFirst ()
Gets first name.
Returns null if not available.
public String getFormattedName ()
Gets the properly formatted name.
Returns null if not available.
public String getLast ()
Gets last name.
Returns null if not available.
public String getMiddle ()
Gets middle name.
Returns null if not available.
public String getPrefix ()
Gets prefix of the name.
Returns null if not available.
public String getPronunciation ()
Designates a text string to be set as the kana name in the phonebook. Used for Japanese contacts.
Returns null if not available.
public String getSuffix ()
Gets suffix of the person's name.
Returns null if not available.