mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
44 lines
951 B
Java
44 lines
951 B
Java
package org.briarproject.android.api;
|
|
|
|
import org.briarproject.api.contact.ContactId;
|
|
import org.briarproject.api.sync.GroupId;
|
|
|
|
/**
|
|
* Manages notifications for private messages, forum posts, blog posts and
|
|
* introductions.
|
|
*/
|
|
public interface AndroidNotificationManager {
|
|
|
|
void clearContactNotification(ContactId c);
|
|
|
|
void clearAllContactNotifications();
|
|
|
|
void clearForumPostNotification(GroupId g);
|
|
|
|
void clearAllForumPostNotifications();
|
|
|
|
void clearBlogPostNotification(GroupId g);
|
|
|
|
void clearAllBlogPostNotifications();
|
|
|
|
void blockContactNotification(ContactId c);
|
|
|
|
void unblockContactNotification(ContactId c);
|
|
|
|
void blockNotification(GroupId g);
|
|
|
|
void unblockNotification(GroupId g);
|
|
|
|
void blockAllContactNotifications();
|
|
|
|
void unblockAllContactNotifications();
|
|
|
|
void blockAllForumPostNotifications();
|
|
|
|
void unblockAllForumPostNotifications();
|
|
|
|
void blockAllBlogPostNotifications();
|
|
|
|
void unblockAllBlogPostNotifications();
|
|
}
|