@Override public void unpairDevice(String deviceId) { pairedDevices.remove(deviceId); }
@Override public void pairDevice(String deviceId, String deviceName) { pairedDevices.put(deviceId, deviceName); }
@Override public boolean isAllowedDeviceId(String deviceId) { return isReceptionFromAnyDevice() || pairedDevices.containsKey(deviceId); }
@Override public String getDeviceName(String deviceId) { return isReceptionFromAnyDevice() ? null : pairedDevices.get(deviceId); }
@Override public Collection<String> getPairedDeviceIds() { return pairedDevices.keySet(); }