12
Telephony API
void
sendExtNo(String extNumber)
send extension number.
void
void
setDialerListener(DialerListener listener)
Registers a DialerListener object.
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
Passing null as the parameter
Parameters:
listener - DialerListener object to be registered. If null, the possibly currently registered listener will be
57