Lifecycle of a Client for Android
Your client communicates with the application on Amazon AppStream through libraries of the Amazon AppStream SDK.
The lifecycle of a client for Android is as follows:
Request authorization from the entitlement service to connect to the application. The entitlement service will return the URL to connect to your application.
Connect to the application. The object manages the session between the client and the application.
Send client inputs to the application.
Close the client.