Apple Newton Utilities Guide de l'utilisateur Page 642

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 641
CHAPTER 17
Additional System Services
17-26 Using Additional System Services
communications endpoint, it can return the 'holdYourHorses symbol to delay
shutdown. After completing the task for which you delayed shutdown, you must
call the
PowerOffResume function as soon as possible to resume the power-
off sequence.
Returning
nil in response to the 'powerOff symbol allows the power-off
sequence to continue. Your callback function must return the value
nil in response
to any symbols other than those described here.
The
UnRegPowerOff function unregisters functions added with RegPowerOff.
IMPORTANT
The callback function registered with RegPowerOff must not
itself call
RegPowerOff nor UnRegPowerOff.
Using the Battery Information Functions 17
Two functions return battery-related information. The BatteryCount function
returns the count of installed battery packs. The
BatteryStatus function returns
a frame with information about the status of a battery pack. This frame contains
information about the battery type and charge status, whether the Newton device is
plugged in, and other power-related data. Note that the contents of this frame differ
depending on the hardware responsible for the battery’s operation.
Vue de la page 641
1 2 ... 637 638 639 640 641 642 643 644 645 646 647 ... 941 942

Commentaires sur ces manuels

Pas de commentaire