public final class

OfflineODataProgress

extends Object
java.lang.Object
   ↳ com.sap.cloud.mobile.odata.offline.OfflineODataProgress

Class Overview

The class represents the number of bytes sent and received during a download or upload.

Summary

Public Constructors
OfflineODataProgress(long bytesReceived, long bytesSent)
Construct OfflineODataProgress instance.
Public Methods
long getBytesReceived()
Returns the number of bytes received from the server.
long getBytesSent()
Returns the number of bytes sent to the server.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OfflineODataProgress (long bytesReceived, long bytesSent)

Construct OfflineODataProgress instance.

Parameters
bytesReceived the number of bytes received from the server.
bytesSent the number of bytes sent to the server.

Public Methods

public long getBytesReceived ()

Returns the number of bytes received from the server.

Returns
  • the number of bytes received from the server.

public long getBytesSent ()

Returns the number of bytes sent to the server.

Returns
  • the number of bytes sent to the server.