com.google.zxing.client.result
Class AddressBookParsedResult
java.lang.Object
com.google.zxing.client.result.ParsedResult
com.google.zxing.client.result.AddressBookParsedResult
public final class AddressBookParsedResult
- extends ParsedResult
- Author:
- Sean Owen
|
Constructor Summary |
AddressBookParsedResult(String[] names,
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 url)
|
AddressBookParsedResult
public AddressBookParsedResult(String[] names,
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 url)
getNames
public String[] getNames()
getPronunciation
public String getPronunciation()
- In 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
public String[] getPhoneNumbers()
getPhoneTypes
public String[] 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
public String[] getEmails()
getEmailTypes
public String[] 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
public String getInstantMessenger()
getNote
public String getNote()
getAddresses
public String[] getAddresses()
getAddressTypes
public String[] 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
public String getTitle()
getOrg
public String getOrg()
getURL
public String getURL()
getBirthday
public String getBirthday()
- Returns:
- birthday formatted as yyyyMMdd (e.g. 19780917)
getDisplayResult
public String getDisplayResult()
- Specified by:
getDisplayResult in class ParsedResult
Copyright © 2007-2012. All Rights Reserved.