Interface StorageDeviceListener

All Superinterfaces:
StorageListener

public interface StorageDeviceListener extends StorageListener
Listener for when a StorageDevice is added or removed.
Version:
2024-05-01
  • Method Details

    • onStorageAdd

      void onStorageAdd(StorageService service, StorageDevice device)
      Called when a storage device is added to the system.
      Parameters:
      service - the storage service
      device - the newly added storage device
    • onStorageRemove

      void onStorageRemove(StorageService service, StorageDevice device)
      Called when a storage device is removed from the system.
      Parameters:
      service - the storage service
      device - the device that has been removed