Package com.google.zxing.client.result
Class AddressBookParsedResult
java.lang.Object
com.google.zxing.client.result.ParsedResult
com.google.zxing.client.result.AddressBookParsedResult
Represents a parsed result that encodes contact information, like that in an address book
 entry.
- Author:
- Sean Owen
- 
Constructor SummaryConstructorsConstructorDescriptionAddressBookParsedResult(String[] names, String[] phoneNumbers, String[] phoneTypes, String[] emails, String[] emailTypes, String[] addresses, String[] addressTypes) AddressBookParsedResult(String[] names, String[] nicknames, String pronunciation, String[] phoneNumbers, String[] phoneTypes, String[] emails, String[] emailTypes, String instantMessenger, String note, String[] addresses, String[] addressTypes, String org, String birthday, String title, String[] urls, String[] geo) 
- 
Method SummaryMethods inherited from class com.google.zxing.client.result.ParsedResultgetType, maybeAppend, maybeAppend, toString
- 
Constructor Details- 
AddressBookParsedResult
- 
AddressBookParsedResultpublic AddressBookParsedResult(String[] names, String[] nicknames, String pronunciation, String[] phoneNumbers, String[] phoneTypes, String[] emails, String[] emailTypes, String instantMessenger, String note, String[] addresses, String[] addressTypes, String org, String birthday, String title, String[] urls, String[] geo) 
 
- 
- 
Method Details- 
getNames
- 
getNicknames
- 
getPronunciationIn Japanese, the name is written in kanji, which can have multiple readings. Therefore a hint is often provided, called furigana, which spells the name phonetically.- Returns:
- The pronunciation of the getNames() field, often in hiragana or katakana.
 
- 
getPhoneNumbers
- 
getPhoneTypes- Returns:
- optional descriptions of the type of each phone number. It could be like "HOME", but, there is no guaranteed or standard format.
 
- 
getEmails
- 
getEmailTypes- Returns:
- optional descriptions of the type of each e-mail. It could be like "WORK", but, there is no guaranteed or standard format.
 
- 
getInstantMessenger
- 
getNote
- 
getAddresses
- 
getAddressTypes- Returns:
- optional descriptions of the type of each e-mail. It could be like "WORK", but, there is no guaranteed or standard format.
 
- 
getTitle
- 
getOrg
- 
getURLs
- 
getBirthday- Returns:
- birthday formatted as yyyyMMdd (e.g. 19780917)
 
- 
getGeo- Returns:
- a location as a latitude/longitude pair
 
- 
getDisplayResult- Specified by:
- getDisplayResultin class- ParsedResult
 
 
-