Better notifications. Development task #67.

This commit is contained in:
akwizgran
2014-03-07 12:21:12 +00:00
parent c72e30617d
commit a5b09a0f65
7 changed files with 288 additions and 77 deletions

View File

@@ -0,0 +1,21 @@
package org.briarproject.api.android;
import org.briarproject.api.ContactId;
import org.briarproject.api.messaging.GroupId;
/**
* Manages notifications for private messages and group posts. All methods must
* be called from the Android UI thread.
*/
public interface AndroidNotificationManager {
public void showPrivateMessageNotification(ContactId c);
public void clearPrivateMessageNotification(ContactId c);
public void showGroupPostNotification(GroupId g);
public void clearGroupPostNotification(GroupId g);
public void clearNotifications();
}