void setContactName(String number, String name);
+ List<byte[]> getGroupIds();
+
String getGroupName(byte[] groupId);
List<String> getGroupMembers(byte[] groupId);
- void updateGroup(byte[] groupId, String name, List<String> members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException;
+ byte[] updateGroup(byte[] groupId, String name, List<String> members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException;
class MessageReceived extends DBusSignal {
private long timestamp;
return attachments;
}
}
+
+ class ReceiptReceived extends DBusSignal {
+ private long timestamp;
+ private String sender;
+
+ public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
+ super(objectpath, timestamp, sender);
+ this.timestamp = timestamp;
+ this.sender = sender;
+ }
+
+ public long getTimestamp() {
+ return timestamp;
+ }
+
+ public String getSender() {
+ return sender;
+ }
+ }
}