mirror of https://github.com/TeamNewPipe/NewPipe
16 lines
378 B
Java
16 lines
378 B
Java
package org.schabi.newpipe.util;
|
|
|
|
import org.schabi.newpipe.error.ErrorInfo;
|
|
|
|
public interface DebounceSavable {
|
|
|
|
/**
|
|
* Execute operations to save the data. <br>
|
|
* Must set {@link DebounceSaver#setIsModified(boolean)} false in this method manually
|
|
* after the data has been saved.
|
|
*/
|
|
void saveImmediate();
|
|
|
|
void showError(ErrorInfo errorInfo);
|
|
}
|