Application lifecycle events in Amazon Connect Agent Workspace
There are lifecycle states that an app can move between from when the app is
                initially opened to when it is closed in Amazon Connect Agent Workspace. This includes the
                initialization handshake that the app goes through with the workspace after it has
                loaded to establish the communication channel between the two. There is another
                handshake between the workspace and the application when the app will be shutdown.
                An application can hook into onCreate and onDestroy when
                calling AmazonConnectApp.init().
The following section describe the create and destroy events in Amazon Connect Agent Workspace.