com.vodafone.v10.system.device
Interface MailListener

All Known Implementing Classes:
ResidentMIDlet

public interface MailListener

MailListener is an interface for implementing a listener to wait for mail arrival events.

To register a listener implementing this interface, call the DeviceControl setMailListener() method. Events relating to mail arrival are notified by the MailListener interface received() method.

MailListener event notification is made regardless of whether a MIDlet is resident or launched conventionally.


Field Summary
static int CBS
          Mail type CBS
static int MMS
          Mail type MMS
static int SMS
          Mail type SMS
static int WEB
          Mail type Web push mail
 
Method Summary
 void received(int type)
          Called when mail arrives.
 

Field Detail

SMS

public static final int SMS
Mail type SMS

MMS

public static final int MMS
Mail type MMS

CBS

public static final int CBS
Mail type CBS

WEB

public static final int WEB
Mail type Web push mail
Method Detail

received

public void received(int type)
Called when mail arrives.
Parameters:
type - The type of mail is designated as SMS, MMS, CBS, or WEB.


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