Represents the AccountManager
's listener for the onOpen()
and
onClose()
callbacks.
It may be used in order to verify if the application should not be shut down after the account has been closed.
The accountManagerListener
object can be structured as
follows:
launchbox.AccountManager.accountManagerListener = { onOpen: function() { ... }, onClose: function() { ... } };
The following table lists all callback methods supported by the
accountManagerListener
object.
Name | Description | Return type |
---|---|---|
onOpen | Called after the account is opened. | undefined |
onClose | The account will be closed after this method finishes. Communication, user's private SQL storages and the filesystem will no longer be available. Open SQL transactions will be rolled-back, and file operations will be terminated. | undefined |