ModuleInstallStatusUpdate.ProgressInfo

public class ModuleInstallStatusUpdate.ProgressInfo


Download progress information for an ModuleInstallStatusUpdate.

Summary

Public fields

final long
final long

Public methods

long

Returns the number of bytes downloaded so far.

long

Returns the total number of bytes to download in this session.

Public fields

bytesDownloaded

public final long bytesDownloaded

totalBytesToDownload

public final long totalBytesToDownload

Public methods

getBytesDownloaded

public long getBytesDownloaded()

Returns the number of bytes downloaded so far.

getTotalBytesToDownload

public long getTotalBytesToDownload()

Returns the total number of bytes to download in this session.

The total number of bytes to download is guaranteed to be greater than 0.