com.google.zxing.client.result
Class AddressBookParsedResult

java.lang.Object
  extended by com.google.zxing.client.result.ParsedResult
      extended by 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)
           
 
Method Summary
 String[] getAddresses()
           
 String[] getAddressTypes()
           
 String getBirthday()
           
 String getDisplayResult()
           
 String[] getEmails()
           
 String[] getEmailTypes()
           
 String getInstantMessenger()
           
 String[] getNames()
           
 String getNote()
           
 String getOrg()
           
 String[] getPhoneNumbers()
           
 String[] getPhoneTypes()
           
 String getPronunciation()
          In Japanese, the name is written in kanji, which can have multiple readings.
 String getTitle()
           
 String getURL()
           
 
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.