See: Description
Interface | Description |
---|---|
EventListener |
With this interface applications are able to receive events from the system
and from other applications.
|
Class | Description |
---|---|
Event |
The
Event class provides methods to create events and
to retrieve information from events. |
EventManager |
The
EventManager class provides methods to post and listen for
events, to determine the events supported by the device, and to register
applications to be automatically launched in response to events. |
EventPermission |
EventPermission allows access to system events. |
The EventManager
class is the starting point
in the events package. It provides methods to query system states, register
listeners to be notified on events, and to register the application to be
launched on events. The events are delivered through
EventListener
interface that the
applications implement. The event notifications encapsulate the information
about the event into the Event
objects.
The Event
class defines the names of system events. Access to
events is controlled by the EventPermission
class.
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.