Page Summary
-
Barcode.Email represents an email message derived from a 'MAILTO:' or similar QRCode type.
-
It includes constants for email types such as TYPE_HOME, TYPE_UNKNOWN, and TYPE_WORK.
-
Public methods are available to retrieve the email's address, body, subject, and type.
An email message from a 'MAILTO:' or similar QRCode type.
Nested Class Summary
| @interface | Barcode.Email.FormatType | Email format type constants. | |
Constant Summary
| int | TYPE_HOME | Home email. |
| int | TYPE_UNKNOWN | Unknown email type. |
| int | TYPE_WORK | Work email. |
Public Method Summary
| String |
getAddress()
Gets email's address.
|
| String |
getBody()
Gets email's body.
|
| String |
getSubject()
Gets email's subject.
|
| int |
getType()
Gets type of the email.
|
Inherited Method Summary
Constants
public static final int TYPE_HOME
Home email.
public static final int TYPE_UNKNOWN
Unknown email type.
public static final int TYPE_WORK
Work email.
Public Methods
public String getAddress ()
Gets email's address.
Returns null if not available.
public String getBody ()
Gets email's body.
Returns null if not available.
public String getSubject ()
Gets email's subject.
Returns null if not available.
public int getType ()
Gets type of the email.
See also
Barcode.Email.FormatType.