18 lines
453 B
Java
18 lines
453 B
Java
package org.schabi.newpipe.local.subscription.services;
|
|
|
|
public interface ImportExportEventListener {
|
|
/**
|
|
* Called when the size has been resolved.
|
|
*
|
|
* @param size how many items there are to import/export
|
|
*/
|
|
void onSizeReceived(int size);
|
|
|
|
/**
|
|
* Called every time an item has been parsed/resolved.
|
|
*
|
|
* @param itemName the name of the subscription item
|
|
*/
|
|
void onItemCompleted(String itemName);
|
|
}
|