mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Facade for private message headers. #173
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package org.briarproject.api.messaging;
|
||||
|
||||
import org.briarproject.api.identity.Author;
|
||||
import org.briarproject.api.sync.MessageId;
|
||||
|
||||
public interface PrivateMessageHeader {
|
||||
|
||||
enum Status { STORED, SENT, DELIVERED }
|
||||
|
||||
MessageId getId();
|
||||
|
||||
Author getAuthor();
|
||||
|
||||
String getContentType();
|
||||
|
||||
long getTimestamp();
|
||||
|
||||
boolean isLocal();
|
||||
|
||||
boolean isRead();
|
||||
|
||||
Status getStatus();
|
||||
}
|
||||
Reference in New Issue
Block a user