public class

EasAccountInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.htc.app.admin.EasAccountInfo

Class Overview

This class is for configurating the EAS E-Mail account via MDM API.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<EasAccountInfo> CREATOR
Public Constructors
EasAccountInfo(String displayName, String emailAddress, String serverAddress, String domainName, String userName, String password, boolean useSsl)
Creat Eas mail account
EasAccountInfo()
Public Methods
int describeContents()
String getDisplayName()
To get the email account display name from EasAccountInfo.
String getDomainName()
To get the domain name from EasAccountInfo.
String getEmailAddress()
To get the email address from EasAccountInfo.
String getPassword()
To get the user password from EasAccountInfo.
String getServerAddress()
To get the email server address from EasAccountInfo.
boolean getUseSsl()
To get the useSSL value.
String getUserName()
To get the user name from EasAccountInfo.
void readFromParcel(Parcel in)
void setDisplayName(String displayName)
To set the email account display name into EasAccountInfo.
void setDomainName(String domainName)
To set the domain name into EasAccountInfo.
void setEasAccountInfo(String displayName, String emailAddress, String serverAddress, String domainName, String userName, String password, boolean useSsl)
Creat Eas mail account
void setEmailAddress(String emailAddress)
To set the email address into EasAccountInfo.
void setPassword(String password)
To set the password into EasAccountInfo.
void setServerAddress(String serverAddress)
To set the email server address into EasAccountInfo.
void setUseSsl(boolean bUseSsl)
To set this account will use SSL connection.
void setUserName(String userName)
To set the user name into EasAccountInfo.
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<EasAccountInfo> CREATOR

Public Constructors

public EasAccountInfo (String displayName, String emailAddress, String serverAddress, String domainName, String userName, String password, boolean useSsl)

Creat Eas mail account

Parameters
displayName The display name of the e-mail account.
emailAddress Email address
serverAddress Server address
domainName Domain Name
userName user name
password password
useSsl True if this ause ssl

public EasAccountInfo ()

Public Methods

public int describeContents ()

public String getDisplayName ()

To get the email account display name from EasAccountInfo.

Returns
  • The display name of the e-mail account.

public String getDomainName ()

To get the domain name from EasAccountInfo.

Returns
  • The domain name.

public String getEmailAddress ()

To get the email address from EasAccountInfo.

Returns
  • The email address.

public String getPassword ()

To get the user password from EasAccountInfo.

Returns
  • The user password.

public String getServerAddress ()

To get the email server address from EasAccountInfo.

Returns
  • The server address.

public boolean getUseSsl ()

To get the useSSL value.

Returns
  • True if it uses SSL connection; false if not.

public String getUserName ()

To get the user name from EasAccountInfo.

Returns
  • The user name.

public void readFromParcel (Parcel in)

public void setDisplayName (String displayName)

To set the email account display name into EasAccountInfo.

Parameters
displayName The display name of the e-mail account.

public void setDomainName (String domainName)

To set the domain name into EasAccountInfo.

Parameters
domainName The domain name.

public void setEasAccountInfo (String displayName, String emailAddress, String serverAddress, String domainName, String userName, String password, boolean useSsl)

Creat Eas mail account

Parameters
displayName The display name of the e-mail account.
emailAddress Email address
serverAddress Server address
domainName Domain Name
userName user name
password password
useSsl use ssl

public void setEmailAddress (String emailAddress)

To set the email address into EasAccountInfo.

Parameters
emailAddress The e-mail address.

public void setPassword (String password)

To set the password into EasAccountInfo.

Parameters
password The passowrd of this account.

public void setServerAddress (String serverAddress)

To set the email server address into EasAccountInfo.

Parameters
serverAddress The server address.

public void setUseSsl (boolean bUseSsl)

To set this account will use SSL connection.

Parameters
bUseSsl True if it uses SSL connection; false if not. The default is false.

public void setUserName (String userName)

To set the user name into EasAccountInfo.

Parameters
userName The user name.

public String toString ()

Since: API Level

public void writeToParcel (Parcel dest, int flags)