Forgot to commit the helper's listener

This commit is contained in:
Sylvain Berfini 2017-10-13 14:40:32 +02:00
parent e31b995bd3
commit 3387739804

View file

@ -0,0 +1,18 @@
package org.linphone.core.tools;
public interface OpenH264DownloadHelperListener {
/**
* Called at the beginning of download with current < max Called
* at each iteration of download Called at the ending of download
* with current > max
* @param current: Size of file already downloaded
* @param max: Size of file we want to download
*/
void OnProgress(int current, int max);
/**
* Called when we failed to download codec
* @param error: Error message
*/
void OnError(String error);
}