12 telephony api, Dialer class, Class dialerevent – Motorola HANDSET C381P User Manual

Page 54

Advertising
background image

12
Telephony
API

54

12

Telephony API

The Telephony API allows a MIDlet to make a voice call, however, the user needs to
confirm the action before any voice call is made. The reason for the confirmation is to
provide a measure of security from rogue applications overtaking the handset.
Unlike standard TAPI, the wireless Telephony API provide simple function and simple
even listener: startCall (), send ExtNo (), and endCall (), DialerListener.
The Tables 11 and 12 describe the Interface and Class Summary:

Interface Summary

DialerListener

The

DialerListener

interface provides a mechanism for the application to

be notified of phone call event.

Table 11 Interface Summary

Class Summary

Dialer

The Dialer class defines the basic functionality for start and end phone
call.

DialerEvent The DialerEvent class defines phone call events.

Table 12 Class Summary

Dialer Class

The dialer Class can be used to start and end a phone call and user listener to receive an
event. The applications use a Dialer to make a phone call and use DialerListener to
receive event.

Class DialerEvent

The DialerEvent class defines phone call events. The Table 13 describes the Field
Summary:

Advertising