Methods Summary |
---|
private native void | deleteMessages0(int msid)Native function to delete SMS/CBS/MMS messages left
unread by the MIDlet suite that is terminating.
|
public static void | init(com.sun.midp.main.MIDletProxyList mpl)Initialization function for the WMA cleanup service.
Adds itself as a listener, so as to be notified on
suite removal.
mpl.addListener(new WMACleanupMonitor());
|
public void | midletAdded(com.sun.midp.main.MIDletProxy midlet)The WMACleanup monitor ignores MIDlet added callbacks.
The necessary initialization is done in the Isolate and
MIDletState that instantiates the MIDlet.
Called when a MIDlet is added to the list and only in the AMS
Isolate.
|
public void | midletRemoved(com.sun.midp.main.MIDletProxy midlet)The WMACleanup monitor uses the MIDlet removed callback
to delete any messages left unread by the MIDlet suite..
Called (in the AMS Isolate) when a MIDlet is removed from the list.
deleteMessages0(midlet.getSuiteId());
|
public void | midletStartError(int externalAppId, int suiteId, java.lang.String className, int errorCode, java.lang.String errorDetails)The WMACleanup monitor ignores MIDlet start error callbacks.
Called when error occurred while starting a MIDlet object.
|
public void | midletUpdated(com.sun.midp.main.MIDletProxy midlet, int fieldId)The WMACleanup monitor ignores MIDlet update callbacks.
Called when the state of a MIDlet in the list is updated.
|