Class NetworkDownloadActivityFinished_1_1

    • Field Detail

      • readContentLength

        public final long readContentLength
        The number of content bytes read.

        This is not guaranteed to be the number of bytes transferred. For example, this resource may be content encoded (e.g. compression, fewer bytes transferred). Or, it might be transfer encoded (e.g. HTTP chunked transfer, more bytes transferred). Or, both. Therefore, it is not necessarily an accurate input into transfer rate (a.k.a. throughput) calculations.

        Moreover, it represents the content bytes read, not transferred. If the read operation only reads a subset of what was transmitted, this number will be the read byte count.

        Negative values should be ignored as they indicate insufficient data available for content length.

    • Constructor Detail

      • NetworkDownloadActivityFinished_1_1

        public NetworkDownloadActivityFinished_1_1​(long id,
                                                   long readContentLength,
                                                   @Nullable
                                                   @Nullable ExceptionTree_1_0 failure)