Motorola E680 Technical Manual - Page 72

Telephony API

Page 72 highlights

17 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 below 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. Class Summary Dialer The Dialer class defines the basic functionality for start and end phone call. DialerEvent The DialerEvent class defines phone call events. 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 below describes the Field Summary: Summary static byte PHONE_VOICECALL_CONNECT Phone call was connected event 72

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

72
17
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 below 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.
Class Summary
Dialer
The Dialer class defines the basic functionality for start and end phone
call.
DialerEvent
The DialerEvent class defines phone call events.
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 below describes the Field
Summary:
Summary
static byte
PHONE_VOICECALL_CONNECT
Phone call was connected event