Add a listener to the message store for batch updates
- Import the required classes and interfaces.
import net.rim.blackberry.api.mail.event.StoreListener;
import net.rim.blackberry.api.mail.Store;
- Implement the StoreListener interface.
void batchOperation(StoreEvent e)
{
// Perform action when messages added or removed in batch operation.
}
Was this information helpful? Send us your comments.