12
Telephony
API
57
void
sendExtNo
(String extNumber)
send extension number.
void
setDialerListener
(DialerListener listener)
Registers a
DialerListener
object.
void
startCall
(String telenumber)
start a phone call using given telephone number.
void
startCall
(String teleNumber, String extNo)
start a phone call using given telephone number and extension number.
Table 16 Method Summary
The following methods are inherited from java.lang.object:
•
equals
•
getClass
•
hashCode
•
notify
•
notifyAll
•
toString
•
wait
getDefaultDialer
public static Dialer
getDefaultDialer
()
Get a
Dialer
instance.
setDialerListener
public void setDialerListener(DialerListener listener)
Registers a DialerListener object.
The platform will notify this listener object when a phone event has been received to this
Dialer object.
There can be at most one listener object registered for a Dialer object at any given point in
time. Setting a new listener will implicitly de-register the possibly previously set listener.
Passing null as the parameter de-registers the currently registered listener, if any.
Parameters:
listener
-
DialerListener
object to be registered. If null, the possibly currently
registered listener will be de-registered and will not receive phone call event.
Содержание C381P J2ME
Страница 1: ...Technical Manual Version 01 00 Motorola C381p Handset J2ME Developer Guide ...
Страница 34: ...8 Network APIs 34 catch Exception ex hc i null Code Sample 3 HTTPS Connection ...
Страница 48: ...10 JSR 120 Wireless Messaging API 48 e toString Code Sample 5 JSR 120 Wireless Messaging API ...