EventManager is the service interface for working with the event infrastructure.

Event subtypes define the events that the system generates. See Event Data Objects and Creating Custom Events.

EventHistoryCollector allows you to monitor events. You can create a filter to limit the number of events your code retrieves. You can monitor both system events and your own events. See Using an EventHistoryCollector.

The AlarmManager is the service interface for creating, setting, and managing alarms. You create an alarm, specifying trigger conditions and the action to take. When the conditions defined for the Alarm occur on the system, the Action specified for the alarm starts. The alarm also generates an Event that you can retrieve with an EventHistoryCollector.