Closes the open account.
If the login screen is enabled using the bootstrap.boolean.showLoginScreen setting, calling the the
closeAccount
method will result in returning to the login screen.
Otherwise, it will close the Hybrid Container application.
Name | Description | Type | Use |
---|---|---|---|
callback | Passed while sending a reply to the request referring to an account and its public user data. | object |
required |
Please refer the addAccount article for detailed information on the callback, its structure and methods.