-
public interface EmojiPackDownloadListenerUsed for handling the download of de.c1710.filemojicompat_ui.packs.DownloadableEmojiPack
-
-
Method Summary
Modifier and Type Method Description abstract UnitonProgress(Long bytesRead, Long contentLength)Called throughout the download to update the current download progress. abstract UnitonFailure(IOException e)Called when the download went wrong. abstract UnitonCancelled()Called when the download has been cancelled abstract UnitonDone()Called when the download has been successfully executed. -
-
Method Detail
-
onProgress
abstract Unit onProgress(Long bytesRead, Long contentLength)
Called throughout the download to update the current download progress.
- Parameters:
bytesRead- How many bytes have already been downloaded (in total).contentLength- How many bytes in total need to be downloaded.
-
onFailure
abstract Unit onFailure(IOException e)
Called when the download went wrong.
-
onCancelled
abstract Unit onCancelled()
Called when the download has been cancelled
-
-
-
-