- Enclosing class:
Downloads
public static interface Downloads.Listener
A listener interface for globally intercepting download events.
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
void
Listens for the creation of a new download task.
-
Method Details
-
listen
Listens for the creation of a new download task.
- Parameters:
http - The CoverHttp task that initiated the download.
downloads - The Downloads event handler.