Page Summary
-
Barcode.Phone provides information about a phone number.
-
It includes constants for different phone number types such as FAX, HOME, MOBILE, UNKNOWN, and WORK.
-
You can retrieve the phone number string and its type using the public methods getNumber() and getType().
Phone number info.
Nested Class Summary
Constant Summary
| int | TYPE_FAX | Fax machine. |
|---|---|---|
|
int
|
TYPE_HOME | Home phone. |
|
int
|
TYPE_MOBILE | Mobile phone. |
|
int
|
TYPE_UNKNOWN | Unknown phone type. |
|
int
|
TYPE_WORK | Work phone. |
Public Method Summary
| String | |
| int |
Inherited Method Summary
Constants
public static final int TYPE_FAX
Fax machine.
public static final int TYPE_HOME
Home phone.
public static final int TYPE_MOBILE
Mobile phone.
public static final int TYPE_UNKNOWN
Unknown phone type.
public static final int TYPE_WORK
Work phone.
Public Methods
public String getNumber ()
Gets phone number.
Returns null
if not available.
public int getType ()
Gets type of the phone number.
See also Barcode.Phone.FormatType
.


