boolean isRegistered();
+ void addDevice(String uri) throws Error.InvalidUri;
+
+ void removeDevice(int deviceId) throws Error.Failure;
+
+ List<String> listDevices() throws Error.Failure;
+
+ void updateDeviceName(String deviceName) throws Error.Failure;
+
void updateProfile(
String name, String about, String aboutEmoji, String avatarPath, boolean removeAvatar
) throws Error.Failure;
}
}
+ class InvalidUri extends DBusExecutionException {
+
+ public InvalidUri(final String message) {
+ super(message);
+ }
+ }
+
class Failure extends DBusExecutionException {
public Failure(final String message) {