Motorola SYMBOL MINISCAN MSXX04 Guía de usuario Pagina 238

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 278
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 237
Chapter 19: Wireless Wide-Area Networking
Voice Over WWAN API Elements
Psion Mobile Devices Developers Guide
226
Last Event
The voice call is terminated—no more events will be generated for this call. See Section 19.13.8 Terminating
Voice Calls on page 223 for details.
Withheld Incoming Number
This is an incoming call where the caller withheld the phone number. See Section 19.13.12 Blocking Caller ID
on Outgoing Calls on page 224 for details.
19.13.14.2 Voice Call Manager Incoming Call Event
A voice call manager incoming call event is generated when a new voice call is received. Events are proc-
essed in the order that they are received. The application does not receive the next event until the handler
returns from the previous one. For this reason, it is recommended that there is a lightweight handler that
returns quickly.
19.13.15 Voice Over WWAN API Elements
C++: The phone book on all Psion computers is controlled using the VoiceCall class and the
VoiceCallManager class in the PsionTeklogix::WWAN namespace.
Java: Not available.
.NET: WWAN on all Psion computers is controlled using the VoiceCall class and the VoiceCallManager
class in the PsionTeklogix.WWAN namespace.
19.14 Phone Books
The Mobile Devices SDK allows an application to access and manipulate the phone books built into a SIM
card or WWAN modem.
Each phone book entry consists of one name and one phone number. The maximum number of bytes for a
name and for a phone number is determined by the network provider. The number of characters that can
be stored depends on the alphabet used for the entry. 16-bit alphabets allow fewer characters to be stored
in the available space than do 7-bit, and 8-bit alphabets. A name entry that is too long for the allocated
space is automatically truncated. The number can only contain the following characters: 0 (zero) to 9, *, #,
and +. Hyphens and brackets are automatically stripped from numbers before they are stored.
Reading Phone Book Entries
Use the following steps to read the entries from a phone book:
1. Get a list of all phone books—on both SIM cards and the modem—using GetPhonebooks.
2. Get the entries in a phone book using GetPhonebookEntries.
if (!InitWwanVoiceApi())
{
return false;
}
Phonebook[] phonebooks = Phonebook.GetPhonebooks();
foreach (Phonebook phonebook in phonebooks)
{
if (phonebook.StoredOnSim)
{
PhonebookEntry[] entries = phonebook.GetPhonebookEntries();
foreach (PhonebookEntry entry in entries)
{
// Some phonebook entries are duplicates, or
// they have zero length names. This example filters these out.
if (
(!number_combo.Items.Contains(entry.GetName())) &&
(entry.GetName().Length > 0)
)
{
number_combo.Items.Add(entry.GetName());
Vista de pagina 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 277 278

Comentarios a estos manuales

Sin comentarios