public interface KNYBinaryDownloadCallback
| Modifier and Type | Method and Description | 
|---|---|
void | 
onChunkDownloadCompleted(Object object)
User-defined method to handle completion of chunk download 
 | 
void | 
onDownloadFailure(Object e)
User defined method to handle failure 
 | 
void | 
onFileDownloadCompleted(Object object)
User defined method to handle the completion of file download 
 | 
void | 
onFileDownloadStarted(Object object)
User-defined method to handle the starting of download 
 | 
void | 
onStreamDownloadCompleted(Object object)
User-defined method to handle completion of stream download 
 | 
void onFileDownloadStarted(Object object)
object - contains
               - blobID A unique blob ID corresponding to the download task
               - context Context of the file that is being downloadvoid onStreamDownloadCompleted(Object object)
object - will contain
               - blobID A unique blob ID of the corresponding download task
               - chunkData Actual bytes downloaded
               - context Context of the file that is being downloadvoid onChunkDownloadCompleted(Object object)
object - will contain
               - blobID A unique blob ID of the corresponding download task
               - totalBytesDownloaded total number of bytes downloaded
               - totalFileSize total size of file that is being downloaded
               - context Context of the file that is being downloadvoid onFileDownloadCompleted(Object object)
object - will contain
               - blobID A unique blob ID of the corresponding download task
               - filePath Path of the file downloaded to device (in case of Streaming = false).
                 If Streaming = true, then this parameter will be null as individual chunks
               - context Context of the file that is being downloadvoid onDownloadFailure(Object e)
e - will contain
          - blobID A unique blob ID of the corresponding download task
          - exception BinaryException which caused the failure
          - context Context of the file that is being download