|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazon.InApp.transaction.ContentDownloadResponse
public final class ContentDownloadResponse
Represents the result of a call to TransactionManager.initiateContentDownloadRequest(String, String)
and is
sent asynchronously to the registered TransactionObserver
via
TransactionObserver.notifyContentDownloadResponse(ContentDownloadResponse)
. It's possible to receive more than
one ContentDownloadResponse
for a given request, each with a different percentage complete.
Nested Class Summary | |
---|---|
static class |
ContentDownloadResponse.ContentDownloadRequestStatus
Indicates the result of a content download request initiated via TransactionManager.initiateContentDownloadRequest(String, String) . |
Method Summary | |
---|---|
ContentDownloadResponse.ContentDownloadRequestStatus |
getContentDownloadRequestStatus()
Returns the status of the download operation. |
int |
getPercentComplete()
Returns the current percentage complete for the download. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPercentComplete()
public ContentDownloadResponse.ContentDownloadRequestStatus getContentDownloadRequestStatus()
ContentDownloadResponse.ContentDownloadRequestStatus.InProgress
then
you can expect another response at some point in the future with a status of
ContentDownloadResponse.ContentDownloadRequestStatus.Complete
. If this is not ContentDownloadResponse.ContentDownloadRequestStatus.InProgress
,
then this is the last response you will receive for this operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |