com.vodafone.v10.system.device
Interface TelephonyListener

All Known Implementing Classes:
ResidentMIDlet

public interface TelephonyListener

TelephonyListener is an interface for implementing a listener to wait for events indicating "call incoming" and "ringing stopped". To register the listener implementing this interface, call the DeviceControl setTelephonyListener() method. When an incoming phone call is detected, the TelephonyListener interface ring()() method is called.

TelephonyListener event notification is made regardless of whether the MIDlet is resident or launched conventionally.


Method Summary
 void hungup()
          Called when a party hangs up.
 void ring()
          Called when a phone call is incoming.
 

Method Detail

ring

public void ring()
Called when a phone call is incoming. The caller identity (name and phone number) is not notified.

hungup

public void hungup()
Called when a party hangs up. Called also when a call ends and an application resumes.


Copyright 2002,2003 Aplix Corporation. All rights reserved. Aplix Confidential and Restricted.