Version 1.10 - Updated on 05/04/2017
public interface Email extends Item
Stores Email information.
int getIndex()
String getAddress()
String getType()
int getPreference()
class Builder
Class used to buildEmail
to create or update a contact.
public Builder ()
Constructor used to initialize an empty Email
builder.
public Builder (Email email)
Constructor used to initialize Email
builder with pre-populated Email
values.
email
— Email
object as obtained from getContacts
methods.public void setType(String type)
Sets the type of the email. Supported types are:
other
type
— email typepublic void setPreference(int preference)
Sets the preference for the email. Lower numbers indicate a higher preference.
preference
— email preferencepublic void setIndex(int index)
Sets the index for the email.
index
— email indexpublic void setAddress(String address)
Sets the email address.
address
— email addressCopyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.