public abstract class

MetaDownloadProgressListener

extends Object
implements DownloaderProgressListener
java.lang.Object
   ↳ com.kinvey.java.core.MetaDownloadProgressListener

Class Overview

This class is an extension of the DownloaderProgressListener, which also provides a method for the retrieval of the metadata.

Summary

Public Constructors
MetaDownloadProgressListener()
Public Methods
FileMetaData getMetadata()
Get the FileMetaData object associated with this download
void metaDataRetrieved(FileMetaData meta)
Called when metadata has been successfully retrieved from blob, this will occur before the actual file is downloaded.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.kinvey.java.core.DownloaderProgressListener
From interface com.kinvey.java.core.KinveyClientCallback

Public Constructors

public MetaDownloadProgressListener ()

Public Methods

public FileMetaData getMetadata ()

Get the FileMetaData object associated with this download

Returns
  • the FileMetaData object

public void metaDataRetrieved (FileMetaData meta)

Called when metadata has been successfully retrieved from blob, this will occur before the actual file is downloaded.

Parameters
meta the metadata object of the file being downloaded.