import java.util.List;
public interface Signal extends DBusInterface {
+
void sendMessage(String message, List<String> attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
void sendMessage(String message, List<String> attachments, List<String> recipients) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
byte[] updateGroup(byte[] groupId, String name, List<String> members, String avatar) throws IOException, EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException;
+ boolean isRegistered();
+
class MessageReceived extends DBusSignal {
+
private long timestamp;
private String sender;
private byte[] groupId;
}
class ReceiptReceived extends DBusSignal {
+
private long timestamp;
private String sender;