1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-12 04:25:08 -05:00
k-9/src/com/android/email/mail/PushReceiver.java

16 lines
517 B
Java
Raw Normal View History

package com.android.email.mail;
import java.util.List;
public interface PushReceiver
{
public void acquireWakeLock();
public void releaseWakeLock();
public void messagesArrived(Folder folder, List<Message> mess);
public void messagesFlagsChanged(Folder folder, List<Message> mess);
public String getPushState(String folderName);
public void pushError(String errorMessage, Exception e);
public void setPushActive(String folderName, boolean enabled);
public void sleep(long millis);
}