Motorola E680 Technical Manual - Page 75
getDefaultDialer, setDialerListener, startCall
View all Motorola E680 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
17 Telephony API • 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. startCall public void startCall(String telenumber) throws IOException start a phone call using given telephone number. Parameters: telenumber - the telephone number to be call. extNo - the extension number to be send. Throws: 75