beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 620

background image

C H A P T E R 1 7

Additional System Services

17-4

About Additional System Services

Figure 17-2

Alarm slip with Snooze button

Periodic Alarms

17

The periodic alarm service sends messages to your application at a specified time.
This can be used, for example, by an email client application to periodically log on
to a server to check for incoming messages.

The interface to the periodic alarm service is the system-supplied

protoPeriodicAlarmEditor

, shown in Figure 17-3. You can create views

from this proto to allow the user of your application to schedule periodic alarms.
When the alarm times scheduled in this view come up, a message is sent to your
application.

Figure 17-3

A view based on

protoPeriodicAlarmEditor