Android SDK Version


public final class RequestProgress
Field Summary
Modifier and TypeFieldDescription
private Longprogress
private LongmaxProgress
Constructor Summary
ConstructorDescription
RequestProgress(Handler callbackHandler, GraphRequest request)
Method Summary
Modifier and TypeMethodDescription
final LonggetProgress()
final UnitsetProgress(Long progress)
final LonggetMaxProgress()
final UnitsetMaxProgress(Long maxProgress)
final UnitaddProgress(Long size) Increase process size
final UnitaddToMax(Long size) Increase maxProgress size
final UnitreportProgress() Send requests if process size larger than lastReportedProgress size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

RequestProgress

RequestProgress(Handler callbackHandler, GraphRequest request)
Method Detail

getProgress

 final LonggetProgress()

setProgress

 final UnitsetProgress(Long progress)

getMaxProgress

 final LonggetMaxProgress()

setMaxProgress

 final UnitsetMaxProgress(Long maxProgress)

addProgress

 final UnitaddProgress(Long size)
Increase process size
Parameters:
size - to increase

addToMax

 final UnitaddToMax(Long size)
Increase maxProgress size
Parameters:
size - to increase

reportProgress

 final UnitreportProgress()
Send requests if process size larger than lastReportedProgress size