Class KiiRTransferInfo
- java.lang.Object
-
- com.kii.cloud.storage.resumabletransfer.KiiRTransferInfo
-
public abstract class KiiRTransferInfo extends java.lang.Object
Information of the transfer.
-
-
Constructor Summary
Constructors Constructor Description KiiRTransferInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getCompletedSizeInBytes()
Returns completed size in bytes.abstract KiiRTransferStatus
getStatus()
Returns status of transfer managed by SDK.abstract long
getTotalSizeInBytes()
Returns total size in bytes.
-
-
-
Method Detail
-
getStatus
@NonNull public abstract KiiRTransferStatus getStatus()
Returns status of transfer managed by SDK.- Returns:
KiiRTransferStatus
-
getCompletedSizeInBytes
public abstract long getCompletedSizeInBytes()
Returns completed size in bytes.- Returns:
- completed size in bytes.
-
getTotalSizeInBytes
public abstract long getTotalSizeInBytes()
Returns total size in bytes. Before starttransfer(KiiRTransferProgressCallback)
total size may return 0 since we don't know the size of the body on cloud before accessing server. The total size notified on progress callback.- Returns:
- total size in bytes.
-
-