Input sessions allow applications to control how raw events are processed into higher level events.
Logical input events are encapsulated by input sessions. An example of such input is text entry in a text field. A session is created upon getting input focus in a text field and is destroyed when input focus is lost. Even though some sessions can be created once and last for the lifetime of the application, Screen API considers the sessions active until they are destroyed.
Last modified: 2015-01-29