mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 07:28:32 +00:00
Forgot to commit the helper's listener
This commit is contained in:
parent
e31b995bd3
commit
3387739804
1 changed files with 18 additions and 0 deletions
|
|
@ -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);
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue