java.lang.Objectcom.lenovo.android.app.admin.LenovoDevicePolicyManager.LenovoEmailServerInfo
public abstract static class LenovoDevicePolicyManager.LenovoEmailServerInfo
The Class LenovoEmailServerInfo.
Nested Class Summary | |
---|---|
static class |
LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType
|
Constructor Summary | |
---|---|
LenovoDevicePolicyManager.LenovoEmailServerInfo()
|
Method Summary | |
---|---|
abstract boolean |
acceptAllCerts()
Gets if the email account accepts all certificates Only applies to Exchange accounts |
abstract java.lang.String |
getDomain()
Gets the domain name or IP address. |
abstract java.lang.String |
getPassword()
Gets the password. |
abstract java.lang.String |
getServer()
Gets the server name or IP address. |
abstract LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType |
getType()
Gets the email account type. |
abstract java.lang.String |
getUsername()
Gets the user id. |
abstract void |
setAcceptAllCerts(boolean accept)
Sets if the email account accepts all certificates Only applies to Exchange accounts |
abstract void |
setDomain(java.lang.String domain)
Sets the domain name or IP address. |
abstract void |
setPassword(java.lang.String password)
Sets the password. |
abstract void |
setServer(java.lang.String server)
Sets the server name or IP address. |
abstract void |
setType(LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType type)
Sets the email account type. |
abstract void |
setUsername(java.lang.String username)
Sets the user id. |
abstract void |
setUseSSL(boolean useSSL)
Sets if the email account uses SSL Only applies to Exchange accounts |
abstract boolean |
useSSL()
Gets if the email account uses SSL Only applies to Exchange accounts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LenovoDevicePolicyManager.LenovoEmailServerInfo()
Method Detail |
---|
public abstract boolean acceptAllCerts()
public abstract java.lang.String getDomain()
public abstract java.lang.String getPassword()
public abstract java.lang.String getServer()
public abstract LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType getType()
public abstract java.lang.String getUsername()
public abstract void setAcceptAllCerts(boolean accept)
accept
- Set to true if the account does accept all certificatespublic abstract void setDomain(java.lang.String domain)
domain
- The domain name or IP addresspublic abstract void setPassword(java.lang.String password)
password
- The passwordpublic abstract void setServer(java.lang.String server)
serverIP
- The server name or IP addresspublic abstract void setType(LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType type)
type
- The email account type to setpublic abstract void setUsername(java.lang.String username)
userID
- The user IDpublic abstract void setUseSSL(boolean useSSL)
useSSL
- Set to true if the account does use SSLpublic abstract boolean useSSL()