length property

int length
final

The length (in bytes) of the file being downloaded. This isn't set until we get the initial response. In some cases it still won't be set if the remote server doesn't respond with a length.

Implementation

final int length;