Home > Language Reference > Classes

PhoneBook Class

  + Object
    + PhoneBook

Description

The PhoneBook class is to be used with the Telephony class. It represents either a record of the user's phonebook on the SIM card or either the recipient or sender of a SMS. This class is instantiable, cloneable and derivable.

The Name and Number members respectively store the name and phone number of a contact. HB++ does not impose any constraint on any of these fields, which are treated as simple strings. However the SIM card may. For example, the name of a contact in the phonebook may be restricted in length, and the phone number may be restricted to digits.

The SendSMS method and the PhoneBook property uses PhoneBook objects. Refer to these pages for more information.

Members

MembersDescription
Name Name.
Number Phone number.
Inherited from ObjectDescription
ClassID Returns the type identifier corresponding to the actual class of the object.
Implements Determines whether the object implements the features of a given class.
Iterate Event raised to iterate over the elements of a container object.
Recipient Recipient of events sent by the object.
Serialize Event raised to serialize the object content into a stream.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A