AI-generated Key Takeaways
-
Barcode.PersonName
provides structured access to a person's name extracted from a barcode. -
It includes individual components like first, last, middle, prefix, and suffix, along with a formatted full name.
-
The
getPronunciation
method can retrieve the phonetic representation of the name, if available. -
Each name component is accessed using corresponding getter methods, which return
null
if the information is not present in the barcode data.
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.