Add method for checking whether contact supports transport.

This commit is contained in:
akwizgran
2021-06-28 15:52:26 +01:00
parent 22ea4ced0d
commit 8c1f721015
2 changed files with 24 additions and 2 deletions

View File

@@ -39,6 +39,12 @@ public interface RemovableDriveManager {
*/
RemovableDriveTask startWriterTask(ContactId c, TransportProperties p);
/**
* Returns true if the given contact has indicated support for the
* removable drive transport.
*/
boolean isTransportSupportedByContact(ContactId c) throws DbException;
/**
* Returns true if there is anything to send to the given contact.
*/