mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Dbus enhancements (#543)
* Dbus enhancements * reverted sendMessage, completed isContactBlocked, fixed formatting * Updates based on feedback and fixes * Added trim * fixed getContactName Exception handling
This commit is contained in:
parent
8d0de67530
commit
1d2c7a479d
4 changed files with 146 additions and 28 deletions
|
@ -54,6 +54,22 @@ public interface Signal extends DBusInterface {
|
|||
void updateProfile(
|
||||
String name, String about, String aboutEmoji, String avatarPath, boolean removeAvatar
|
||||
) throws Error.Failure;
|
||||
|
||||
public String version();
|
||||
|
||||
public List<String> listNumbers();
|
||||
|
||||
public List<String> getContactNumber(final String name) throws Error.Failure;
|
||||
|
||||
public void quitGroup(final byte[] groupId) throws Error.GroupNotFound,Error.Failure;
|
||||
|
||||
public boolean isContactBlocked(final String number);
|
||||
|
||||
public boolean isGroupBlocked(final byte[] groupId);
|
||||
|
||||
public boolean isMember(final byte[] groupId);
|
||||
|
||||
public void joinGroup(final String groupLink) throws Error.Failure;
|
||||
|
||||
class MessageReceived extends DBusSignal {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue