mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Better notifications. Development task #67.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user