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.

Callback structure

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

Related topics

Public API reference
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Pega Mobile Client | Feedback