AI-generated Key Takeaways
-
Barcode.ContactInfo
represents a person's or organization's contact information, similar to a vCard. -
It provides methods to access contact details such as addresses, emails, name, organization, phones, title, and URLs.
-
These methods return lists for multiple entries (like addresses, emails, phones) or
null
if the specific information is not available. -
Lists will be empty if no corresponding data is found in the barcode.
-
Inherited methods from
java.lang.Object
are also available for basic object operations.
A person's or organization's business card. For example a VCARD.
Public Method Summary
List<Barcode.Address> |
getAddresses()
Gets contact person's addresses.
|
List<Barcode.Email> |
getEmails()
Gets contact person's emails.
|
Barcode.PersonName |
getName()
Gets contact person's name.
|
String |
getOrganization()
Gets contact person's organization.
|
List<Barcode.Phone> |
getPhones()
Gets contact person's phones.
|
String |
getTitle()
Gets contact person's title.
|
List<String> |
getUrls()
Gets contact person's urls.
|
Inherited Method Summary
Public Methods
public List<Barcode.Address> getAddresses ()
Gets contact person's addresses.
Returns an empty list if nothing found.
public List<Barcode.Email> getEmails ()
Gets contact person's emails.
Returns an empty list if nothing found.
public Barcode.PersonName getName ()
Gets contact person's name.
Returns null
if not available.
public String getOrganization ()
Gets contact person's organization.
Returns null
if not available.
public List<Barcode.Phone> getPhones ()
Gets contact person's phones.
Returns an empty list if nothing found.
public String getTitle ()
Gets contact person's title.
Returns null
if not available.