com.ardic.android.managers.emailconfig.IEmailConfigCallback |
Known Indirect Subclasses
|
Class Overview
Callback interface for email configuration changes.
Summary
Nested Classes |
class |
IEmailConfigCallback.Stub |
Local-side IPC implementation stub class. |
Public Methods
public
abstract
void
onEmailConfigAborted
()
Called when an email configuration is aborted due to unexcepted conditions.
This event means all unresulted operations are aborted, so calle should
take an action to recall whole bunch of operations which has already aborted.
public
abstract
void
onEmailConfigAdded
(EmailConfig config)
Called when an email configuration is added successfully.
Parameters |
config |
EmailConfig :
added Email configuration
|
public
abstract
void
onEmailConfigAdditionFailed
(EmailConfig config, int errorCode)
Called when an email configuration could not be added.
Parameters |
config |
EmailConfig :
Email configuration which could not be added. |
errorCode |
int :
the error code that identifies the type of error. One of
ERROR_UNSPECIFIED , ERROR_NETWORK ,
ERROR_AUTHENTICATION , ERROR_TLS_REQUIRED ,
ERROR_AUTH_REQUIRED , ERROR_GENERAL_SECURITY ,
ERROR_DUPLICATE_ACCOUNT , ERROR_CLIENT_CERTIFICATE_REQUIRED ,
ERROR_CLIENT_CERTIFICATE_ERROR , ERROR_PROTOCOL_VERSION_UNSUPPORTED ,
ERROR_ACCESS_DENIED
|
public
abstract
void
onEmailConfigRemoveFailed
(EmailConfig config, int errorCode)
Called when an email configuration could not be removed.
Parameters |
config |
EmailConfig :
Email configuration which could not be removed. |
errorCode |
int :
the error code that identifies the type of error. One of
ERROR_UNSPECIFIED , ERROR_NETWORK ,
ERROR_AUTHENTICATION , ERROR_TLS_REQUIRED ,
ERROR_AUTH_REQUIRED , ERROR_GENERAL_SECURITY ,
ERROR_DUPLICATE_ACCOUNT , ERROR_CLIENT_CERTIFICATE_REQUIRED ,
ERROR_CLIENT_CERTIFICATE_ERROR , ERROR_PROTOCOL_VERSION_UNSUPPORTED ,
ERROR_ACCESS_DENIED
|
public
abstract
void
onEmailConfigRemoved
(EmailConfig config)
Called when an email configuration is removed successfully.
Parameters |
config |
EmailConfig :
removed Email configuration
|
public
abstract
void
onEmailConfigUpdateFailed
(EmailConfig config, int errorCode)
Called when an email configuration could not be updated.
Parameters |
config |
EmailConfig :
Email configuration which could not be updated. |
errorCode |
int :
the error code that identifies the type of error. One of
ERROR_UNSPECIFIED , ERROR_NETWORK ,
ERROR_AUTHENTICATION , ERROR_TLS_REQUIRED ,
ERROR_AUTH_REQUIRED , ERROR_GENERAL_SECURITY ,
ERROR_DUPLICATE_ACCOUNT , ERROR_CLIENT_CERTIFICATE_REQUIRED ,
ERROR_CLIENT_CERTIFICATE_ERROR , ERROR_PROTOCOL_VERSION_UNSUPPORTED ,
ERROR_ACCESS_DENIED
|
public
abstract
void
onEmailConfigUpdated
(EmailConfig config)
Called when an email configuration is updated successfully.
Parameters |
config |
EmailConfig :
updated Email configuration
|