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 | After this method finishes, the account is closed. Communication, user's private SQL storages and the filesystem are longer be available. Open SQL transactions are rolled-back, and file operations are terminated. | undefined |