public interface

IEmailConfigCallback

implements IInterface
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
abstract void onEmailConfigAborted()
Called when an email configuration is aborted due to unexcepted conditions.
abstract void onEmailConfigAdded(EmailConfig config)
Called when an email configuration is added successfully.
abstract void onEmailConfigAdditionFailed(EmailConfig config, int errorCode)
Called when an email configuration could not be added.
abstract void onEmailConfigRemoveFailed(EmailConfig config, int errorCode)
Called when an email configuration could not be removed.
abstract void onEmailConfigRemoved(EmailConfig config)
Called when an email configuration is removed successfully.
abstract void onEmailConfigUpdateFailed(EmailConfig config, int errorCode)
Called when an email configuration could not be updated.
abstract void onEmailConfigUpdated(EmailConfig config)
Called when an email configuration is updated successfully.
[Expand]
Inherited Methods
From interface android.os.IInterface

Public Methods

public abstract void onEmailConfigAborted ()

Added in API level 2

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.

Throws
RemoteException

public abstract void onEmailConfigAdded (EmailConfig config)

Added in API level 2

Called when an email configuration is added successfully.

Parameters
config EmailConfig: added Email configuration
Throws
RemoteException

public abstract void onEmailConfigAdditionFailed (EmailConfig config, int errorCode)

Added in API level 2

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
Throws
RemoteException

public abstract void onEmailConfigRemoveFailed (EmailConfig config, int errorCode)

Added in API level 2

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
Throws
RemoteException

public abstract void onEmailConfigRemoved (EmailConfig config)

Added in API level 2

Called when an email configuration is removed successfully.

Parameters
config EmailConfig: removed Email configuration
Throws
RemoteException

public abstract void onEmailConfigUpdateFailed (EmailConfig config, int errorCode)

Added in API level 2

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
Throws
RemoteException

public abstract void onEmailConfigUpdated (EmailConfig config)

Added in API level 2

Called when an email configuration is updated successfully.

Parameters
config EmailConfig: updated Email configuration
Throws
RemoteException